diff --git a/vcg/math/matrix44.h b/vcg/math/matrix44.h index aacdbdc5..214ed852 100644 --- a/vcg/math/matrix44.h +++ b/vcg/math/matrix44.h @@ -156,7 +156,7 @@ public: void FromEigenMatrix(const EigenMatrix44Type & m){ for(int i = 0; i < 4; i++) for(int j = 0; j < 4; j++) - ElementAt(i,j)=m(i,j); + ElementAt(i,j)=T(m(i,j)); } void FromEulerAngles(T alpha, T beta, T gamma);