diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-03-19 22:53:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-03-19 22:53:00 +0000 |
commit | b9aefa23f2c6494a9817656b86cb77cabcfd3ee5 (patch) | |
tree | 828ac5614e224ecfdd7206282e9dbe5a2dcab30d /Carpet/CarpetLib/src | |
parent | 1f06bffc9358276dbd3da97f4b34532ded62043a (diff) |
CarpetLib: Beautify dh::setup_sync_boxes
darcs-hash:20070319225327-dae7b-e189114bdb1e915732540fc55d5b2e1e6de0eae5.gz
Diffstat (limited to 'Carpet/CarpetLib/src')
-rw-r--r-- | Carpet/CarpetLib/src/dh.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/dh.cc b/Carpet/CarpetLib/src/dh.cc index ff6f03bc3..f50b69cbb 100644 --- a/Carpet/CarpetLib/src/dh.cc +++ b/Carpet/CarpetLib/src/dh.cc @@ -382,8 +382,6 @@ void dh::setup_sync_boxes (dh::dboxes & box, { const ibset& bnds = box.boundaries; - assert (box.bnd_sync.empty()); - // Sync boxes for (int cc=0; cc<h.components(rl); ++cc) { dboxes & box1 = boxes.AT(ml).AT(rl).AT(cc); @@ -397,7 +395,7 @@ void dh::setup_sync_boxes (dh::dboxes & box, box.bnd_sync += ovlp; for (ibset::const_iterator b=ovlp.begin(); b!=ovlp.end(); ++b) { box .recv_sync.AT(cc).push_back(*b); - box1.send_sync.AT(c).push_back(*b); + box1.send_sync.AT(c ).push_back(*b); } } |