From d55c7aa215ee08fe2603ae01b69b2fa774b7f63b Mon Sep 17 00:00:00 2001 From: korialis Date: Fri, 26 Nov 2021 16:34:23 +0100 Subject: [PATCH] fix typo in unused function --- vcg/complex/algorithms/isotropic_remeshing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/isotropic_remeshing.h b/vcg/complex/algorithms/isotropic_remeshing.h index 9f2ab451..9985e4ed 100644 --- a/vcg/complex/algorithms/isotropic_remeshing.h +++ b/vcg/complex/algorithms/isotropic_remeshing.h @@ -439,7 +439,7 @@ private: const Point3 & fNormal = NormalizedTriangleNormal(**it); - const auto tot = std::accumulate(++ff.begin(), ff.end(), 0.d, [&](const Scalartype acc, const FaceType * f) { + const auto tot = std::accumulate(++ff.begin(), ff.end(), 0.d, [&](const ScalarType acc, const FaceType * f) { return acc + (1 - math::Abs(fastAngle(n, NormalizedTriangleNormal(*f)))); });