diff options
-rw-r--r-- | src/trumpet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trumpet.c b/src/trumpet.c index 0933c04..e21aa9a 100644 --- a/src/trumpet.c +++ b/src/trumpet.c @@ -48,8 +48,8 @@ static CCTK_REAL get_max_r(CCTK_INT dim) GetDomainSpecification(dim, phys_min, phys_max, int_min, int_max, ext_min, ext_max, step); for (int i = 0; i < dim; i++) { - max = MAX(max, abs(phys_min[i])); - max = MAX(max, abs(phys_max[i])); + max = MAX(max, abs(ext_min[i])); + max = MAX(max, abs(ext_max[i])); } return sqrt(dim)*2*max; } |