Fix conversion warning

This commit is contained in:
Simon Giraudot 2021-03-18 08:36:34 +01:00
parent 9c90703f07
commit 987b177833
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ public:
}
typename Traits::FT width() const {
return m_octree.bbox(m_octree.root()).xmax() - m_octree.bbox(m_octree.root()).xmin();
return FT(m_octree.bbox(m_octree.root()).xmax() - m_octree.bbox(m_octree.root()).xmin());
}
Node locate(const typename Traits::Point_3 &p) const {