diff options
Diffstat (limited to 'src/Compute_Norm.c')
-rw-r--r-- | src/Compute_Norm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compute_Norm.c b/src/Compute_Norm.c index b6cdcff..8fc641a 100644 --- a/src/Compute_Norm.c +++ b/src/Compute_Norm.c @@ -86,6 +86,7 @@ void Norms_Compute_Norms (CCTK_ARGUMENTS) vind,varindices_1st[vind], CCTK_VarName(varindices_1st[vind]),result); } + result=result-bgvals_1st[vind]; *norm=*norm+result*result; } @@ -103,6 +104,7 @@ void Norms_Compute_Norms (CCTK_ARGUMENTS) vind,varindices_2nd[vind], CCTK_VarName(varindices_2nd[vind]),result); } + result=result-bgvals_2nd[vind]; *norm=*norm+result*result; } |