Fix conversion warning

This commit is contained in:
Simon Giraudot 2021-04-14 10:57:53 +02:00
parent 3de09ad3da
commit 8e7ea14f58
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ public:
m_octree.refine(maxLevel, bucketSize);
m_width = 0.5 * FT(m_octree.bbox(m_octree.root()).xmax() - m_octree.bbox(m_octree.root()).xmin());
m_width = FT(0.5) * FT(m_octree.bbox(m_octree.root()).xmax() - m_octree.bbox(m_octree.root()).xmin());
}
const typename Traits::FT& width() const {