ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/math/SquareMatrix3.hpp
(Generate patch)

Comparing trunk/OOPSE-4/src/math/SquareMatrix3.hpp (file contents):
Revision 2335 by tim, Tue Sep 27 20:02:57 2005 UTC vs.
Revision 2336 by tim, Wed Sep 28 16:55:57 2005 UTC

# Line 179 | Line 179 | namespace oopse {
179        Real ad1, ad2, ad3;    
180        t = this->data_[0][0] + this->data_[1][1] + this->data_[2][2] + 1.0;
181  
182 <      if( t > 0.0 ){
182 >      if( t > NumericConstant::epsilon ){
183  
184          s = 0.5 / sqrt( t );
185          q[0] = 0.25 / s;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines