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 17, 2024
1 parent 77aecff commit 3e4fcd0
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 @@ -555,9 +555,9 @@ std::pair<Point3Df, Point3Df> RectGridGeom::getCellBounds(usize x, usize y, usiz
minCoords[2] = static_cast<float32>(zBnds[z]);

Point3Df maxCoords;
maxCoords[0] = (*xBnds)[x + 1];
maxCoords[1] = (*yBnds)[y + 1];
maxCoords[2] = (*zBnds)[z + 1];
maxCoords[0] = xBnds[x + 1];
maxCoords[1] = yBnds[y + 1];
maxCoords[2] = zBnds[z + 1];
return {minCoords, maxCoords};
}

Expand Down

0 comments on commit 3e4fcd0

Please sign in to comment.