aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetReduce
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2008-02-26 14:11:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2008-02-26 14:11:00 +0000
commitb4598609c3a1d1db541abc683cf3e651a2421a37 (patch)
tree5ba5b95826b246659ab0010b0bbf440d71f1d876 /Carpet/CarpetReduce
parentdd754fc5be4955b18b6f0a6911d5a589bd5d0c0a (diff)
CarpetReduce: Don't double-count grid points
darcs-hash:20080226141117-dae7b-9ce593fa0c737c838211bb689937593cb32480ca.gz
Diffstat (limited to 'Carpet/CarpetReduce')
-rw-r--r--Carpet/CarpetReduce/src/reduce.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/Carpet/CarpetReduce/src/reduce.cc b/Carpet/CarpetReduce/src/reduce.cc
index 34f79c949..c7b584b6f 100644
--- a/Carpet/CarpetReduce/src/reduce.cc
+++ b/Carpet/CarpetReduce/src/reduce.cc
@@ -521,7 +521,6 @@ namespace CarpetReduce {
static_cast<const T*>(inarrays.AT(tl))[index] * tfacs.AT(tl);
}
OP::reduce (myoutval_local, mycnt_local, myinval, w);
- mycnt_local += w;
}
}
}