From 1086ec072bf8a4f46d9d395b9dc87ee3ba1b834b Mon Sep 17 00:00:00 2001 From: tradke Date: Wed, 9 Nov 2005 13:05:41 +0000 Subject: 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 --- src/ReductionNormInf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3