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,9 +185,9 @@ public:
*
* \pre `i < xdim()` and `j < ydim()` and `k < zdim()`
*/
const Point_3& point(const std::size_t i,
const std::size_t j,
const std::size_t k) const
Point_3 point(const std::size_t i,
const std::size_t j,
const std::size_t k) const
{
typename Geom_traits::Construct_point_3 cp = m_gt.construct_point_3_object();