aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@7daa882c-dc44-4453-834e-278d26b18e6a>2005-11-09 13:05:41 +0000
committertradke <tradke@7daa882c-dc44-4453-834e-278d26b18e6a>2005-11-09 13:05:41 +0000
commit1086ec072bf8a4f46d9d395b9dc87ee3ba1b834b (patch)
tree4b3522f83229b8b531b6327086925891b479ebf2
parent4223a6e0fbf8a8bd1cd90be14240eb10c04a0ed7 (diff)
Fix calculation of the infinite norm: do _not_ divide the maximum of the
absolute values across all grid points by the number of grid points. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalReduce/trunk@68 7daa882c-dc44-4453-834e-278d26b18e6a
-rw-r--r--src/ReductionNormInf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ReductionNormInf.c b/src/ReductionNormInf.c
index 0e6d3c7..c3e20a1 100644
--- a/src/ReductionNormInf.c
+++ b/src/ReductionNormInf.c
@@ -331,7 +331,7 @@ static int ReductionLInf (int N_dims, int operator_handle,
{
ierr = Util_TableSetInt(param_table_handle, num_points, "num_points");
ierr = Util_TableSetInt(param_table_handle, 3,"global_operation");
- ierr = Util_TableSetInt(param_table_handle, 0,"perform_division");
+ ierr = Util_TableSetInt(param_table_handle, 1,"perform_division");
}
else
{