From d767759862fccee8f33cba4696f5d0a91be3d153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Thu, 27 Oct 2016 14:43:29 +0200 Subject: [PATCH] Warning in subdivider fixed --- src/OpenMesh/Tools/Smoother/JacobiLaplaceSmootherT.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenMesh/Tools/Smoother/JacobiLaplaceSmootherT.cc b/src/OpenMesh/Tools/Smoother/JacobiLaplaceSmootherT.cc index c88ac13d..62fa98c1 100644 --- a/src/OpenMesh/Tools/Smoother/JacobiLaplaceSmootherT.cc +++ b/src/OpenMesh/Tools/Smoother/JacobiLaplaceSmootherT.cc @@ -181,7 +181,7 @@ compute_new_positions_C1() if (diag) uu *= static_cast(1.0) / diag; // damping - uu *= 0.25; + uu *= static_cast(0.25); // store new position p = vector_cast(Base::mesh_.point(*v_it));