Skip to content

Commit

Permalink
Update src/simplnx/DataStructure/Geometry/RectGridGeom.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Jared Duffey <[email protected]>
  • Loading branch information
imikejackson and JDuffeyBQ committed May 6, 2024
1 parent d9b1c38 commit 6d4c42c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/simplnx/DataStructure/Geometry/RectGridGeom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,9 +550,9 @@ std::pair<Point3Df, Point3Df> RectGridGeom::getCellBounds(usize x, usize y, usiz
const auto& zBnds = getZBoundsRef();

Point3Df minCoords;
minCoords[0] = static_cast<float32>((*xBnds)[x]);
minCoords[1] = static_cast<float32>((*yBnds)[y]);
minCoords[2] = static_cast<float32>((*zBnds)[z]);
minCoords[0] = static_cast<float32>(xBnds[x]);
minCoords[1] = static_cast<float32>(yBnds[y]);
minCoords[2] = static_cast<float32>(zBnds[z]);

Point3Df maxCoords;
maxCoords[0] = (*xBnds)[x + 1];
Expand Down

0 comments on commit 6d4c42c

Please sign in to comment.