mirror of https://github.com/CGAL/cgal
Fix Cartesian_grid_3 segfault
This commit is contained in:
parent
01c0a1434e
commit
6cacbee79f
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue