Fixed some warnings
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user