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

@@ -111,10 +111,10 @@ TEST_F(OpenMeshSmoother_Poly, Smoother_Triangle_Laplace) {
OpenMesh::Smoother::JacobiLaplaceSmootherT<PolyMesh> smoother(mesh_);;
// Just call function to instantiate template
smoother.set_absolute_local_error(0.5);
smoother.set_absolute_local_error(0.5f);
// Set an error
smoother.set_relative_local_error(0.1);
smoother.set_relative_local_error(0.1f);
// Run algorithm with 5 steps
smoother.smooth(5);