Skip to content

Commit

Permalink
refs #6294. Actually this is correct boxing procedure.
Browse files Browse the repository at this point in the history
The previous one was wrong
  • Loading branch information
abuts committed Dec 10, 2012
1 parent 07a09e3 commit 9406392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/MDEvents/src/MDGridBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ namespace MDEvents
// Coordinates of this vertex
coord_t vertexCoord[nd];
for (size_t d=0; d<nd; ++d)
vertexCoord[d] = this->extents[d].getGridVertex(vertexIndex[d]);
vertexCoord[d] = this->extents[d].getMin()+coord_t(m_SubBoxSize[d]*vertexIndex[d]);

// Is this vertex contained?
coord_t out[nd];
Expand Down

0 comments on commit 9406392

Please sign in to comment.