Fixed some warnings

This commit is contained in:
Jan Möbius
2016-10-24 14:01:06 +02:00
parent 0132a367b2
commit b7aabbd912
6 changed files with 19 additions and 19 deletions

View File

@@ -123,7 +123,7 @@ compute_new_positions_C0()
u -= vector_cast<typename Mesh::Normal>(Base::mesh_.point(*v_it));
// damping
u *= 0.5;
u *= static_cast< typename Mesh::Scalar >(0.5);
// store new position
p = vector_cast<typename Mesh::Normal>(Base::mesh_.point(*v_it));