Warning in subdivider fixed

This commit is contained in:
Jan Möbius
2016-10-27 14:43:29 +02:00
parent 6f9589dc6f
commit d767759862

View File

@@ -181,7 +181,7 @@ compute_new_positions_C1()
if (diag) uu *= static_cast<typename Mesh::Scalar>(1.0) / diag;
// damping
uu *= 0.25;
uu *= static_cast<typename Mesh::Normal::value_type>(0.25);
// store new position
p = vector_cast<typename Mesh::Normal>(Base::mesh_.point(*v_it));