From a927c50c8d41b2b37f4bbdade654b86030d727e4 Mon Sep 17 00:00:00 2001 From: cignoni Date: Fri, 29 Sep 2006 08:36:10 +0000 Subject: [PATCH] Added missing typedef for gcc compiing --- vcg/math/lin_algebra.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcg/math/lin_algebra.h b/vcg/math/lin_algebra.h index b5ddda04..f5c5fe28 100644 --- a/vcg/math/lin_algebra.h +++ b/vcg/math/lin_algebra.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.14 2006/09/28 22:49:49 fiorin +Removed some warnings + Revision 1.13 2006/07/28 12:39:05 zifnab1974 added some typename directives @@ -69,6 +72,7 @@ namespace vcg template static void Jacobi(MATRIX_TYPE &w, POINT_TYPE &d, MATRIX_TYPE &v, int &nrot) { + typedef typename MATRIX_TYPE::ScalarType ScalarType; assert(w.RowsNumber()==w.ColumnsNumber()); int dimension = w.RowsNumber();