From 688403b46cf34be3b87e539f39a44a3b563d7087 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Thu, 6 Aug 2020 18:49:50 +0000 Subject: [PATCH] EgtGeomKernel : - piccolo affinamento nell'uso di SVD per Zmap. --- VolZmapGraphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VolZmapGraphics.cpp b/VolZmapGraphics.cpp index 5dc1c13..d8a9683 100644 --- a/VolZmapGraphics.cpp +++ b/VolZmapGraphics.cpp @@ -1993,8 +1993,8 @@ VolZmap::ExtMarchingCubes( int nBlock, VoxelContainer& vVox) const // calcolo SVD SvdDecomposer svd( dMatrixN, Eigen::ComputeThinU | Eigen::ComputeThinV) ; - auto dMatrixV = svd.matrixV() ; - auto dSingularValue = svd.singularValues() ; + const auto& dSingularValue = svd.singularValues() ; + const auto& dMatrixV = svd.matrixV() ; // Se la feature è un edge annullo il valore singolare minore. if ( nFeatureType == EDGE) {