diff --git a/vcg/complex/trimesh/create/extended_marching_cubes.h b/vcg/complex/trimesh/create/extended_marching_cubes.h index bc0d7735..7d175237 100644 --- a/vcg/complex/trimesh/create/extended_marching_cubes.h +++ b/vcg/complex/trimesh/create/extended_marching_cubes.h @@ -347,7 +347,7 @@ namespace vcg // SVD of matrix A vcg::ndim::Matrix V(3, 3); double *w = new double[vertices_num]; - vcg::SingularValueDecomposition< vcg::ndim::Matrix >(A, w, V, 100); + vcg::SingularValueDecomposition< typename vcg::ndim::Matrix > (A, w, V, LeaveUnsorted, 100); // rank == 2 -> suppress smallest singular value if (rank == 2)