Fix Cartesian_grid_3 segfault

This commit is contained in:
Julian Stahl 2023-03-14 12:21:36 +01:00
parent 01c0a1434e
commit 6cacbee79f
1 changed files with 3 additions and 3 deletions

View File

@ -185,7 +185,7 @@ public:
*
* \pre `i < xdim()` and `j < ydim()` and `k < zdim()`
*/
const Point_3& point(const std::size_t i,
Point_3 point(const std::size_t i,
const std::size_t j,
const std::size_t k) const
{