mirror of https://github.com/CGAL/cgal
Minor fixes
This commit is contained in:
parent
96d7c72ffa
commit
5aeb07d654
|
|
@ -640,7 +640,7 @@ public:
|
||||||
std::size_t i = 0;
|
std::size_t i = 0;
|
||||||
for (const FT& f : cartesian_range(m_bbox_min))
|
for (const FT& f : cartesian_range(m_bbox_min))
|
||||||
{
|
{
|
||||||
bary[i] = node.global_coordinates()[i] * size + (size / 2.0) + f;
|
bary[i] = FT(node.global_coordinates()[i]) * size + size / 2.0 + f;
|
||||||
++ i;
|
++ i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ public:
|
||||||
/*!
|
/*!
|
||||||
\brief returns `true` if `n` should be split, `false` otherwise.
|
\brief returns `true` if `n` should be split, `false` otherwise.
|
||||||
*/
|
*/
|
||||||
template<template Node>
|
template<typename Node>
|
||||||
bool operator()(const Node &n) const {
|
bool operator()(const Node &n) const {
|
||||||
size_t num_points = n.size();
|
size_t num_points = n.size();
|
||||||
size_t depth = n.depth();
|
size_t depth = n.depth();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue