diff options
author | Thomas Radke <tradke@aei.mpg.de> | 2005-05-20 13:55:00 +0000 |
---|---|---|
committer | Thomas Radke <tradke@aei.mpg.de> | 2005-05-20 13:55:00 +0000 |
commit | 94cb9b901987768878fb22c78d9ab6e17982d099 (patch) | |
tree | 0fd8f3afc3976dbc1c93d610f6d86a68d3f60b00 /Carpet/CarpetLib/src/gdata.cc | |
parent | c476baf888d13305a7cddaa9b08b107c17c97260 (diff) |
CarpetLib: bugfix for my latest commit for collective commbuffers optimisation
Used the wrong extent when copying data out of the receive buffer.
darcs-hash:20050520135518-776a0-5be1fc0d19a91252df779ddc4299941d25dd37fd.gz
Diffstat (limited to 'Carpet/CarpetLib/src/gdata.cc')
-rw-r--r-- | Carpet/CarpetLib/src/gdata.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/gdata.cc b/Carpet/CarpetLib/src/gdata.cc index ca9afdc16..31f62b38e 100644 --- a/Carpet/CarpetLib/src/gdata.cc +++ b/Carpet/CarpetLib/src/gdata.cc @@ -454,7 +454,7 @@ void gdata::copy_from_recvbuffer (comm_state& state, state.vartypesize); // copy this processor's data from the recv buffer - const ibbox& ext = src->extent(); + const ibbox& ext = extent(); ivect shape = ext.shape() / ext.stride(); ivect items = (box.upper() - box.lower()) / box.stride() + 1; ivect offs = (box.lower() - ext.lower()) / ext.stride(); |