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