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 b5c7310 commit d9b1c38
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 @@ -545,9 +545,9 @@ Point3D<float64> RectGridGeom::getPlaneCoords(usize idx) const

std::pair<Point3Df, Point3Df> RectGridGeom::getCellBounds(usize x, usize y, usize z) const
{
auto xBnds = getXBounds();
auto yBnds = getYBounds();
auto zBnds = getZBounds();
const auto& xBnds = getXBoundsRef();
const auto& yBnds = getYBoundsRef();
const auto& zBnds = getZBoundsRef();

Point3Df minCoords;
minCoords[0] = static_cast<float32>((*xBnds)[x]);
Expand Down

0 comments on commit d9b1c38

Please sign in to comment.