From 821313d1026c145e68d843f2c879251eb63a3555 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 29 Apr 2003 14:24:11 +0000 Subject: [PATCH] From Ben, promoted floats to doubles to produce better stability in the invert method. --- src/osg/Matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osg/Matrix.cpp b/src/osg/Matrix.cpp index 74c61c14e..27de9c034 100644 --- a/src/osg/Matrix.cpp +++ b/src/osg/Matrix.cpp @@ -254,7 +254,7 @@ bool Matrix::invert( const Matrix& mat ) unsigned int i,j,k,l,ll; unsigned int icol = 0; unsigned int irow = 0; - float temp, pivinv, dum, big; + double temp, pivinv, dum, big; // copy in place this may be unnecessary *this = mat;