[Insight-users] vnl_svd suspicious return value error

Sandhitsu Das sudas at seas.upenn.edu
Thu Apr 26 13:13:08 EDT 2007


While executing the following code segment

this->m_RefinedLatticeCoefficients[i]          = ( vnl_svd<RealType> 
( R ).solve( C ) ).extract( 2, C.cols() );

I get the following runtime error:

/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/algo/vnl_svd.txx:  
suspicious return value (4) from SVDC
/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/algo/vnl_svd.txx: M is 4x4
M = [ ...
0.1666666666667  0.6666666666667  0.1666666666667                0
-1.0000000000000                0  1.0000000000000                0
2.0000000000000 -4.0000000000000  2.0000000000000                0
-1.3333333333333  4.0000000000000 -4.0000000000000  1.3333333333333  ]

This happens on a variety of linux systems (P4, Xeon, Opteron), but  
not on Mac OS X. RealType is double. Is there a fix for this other  
than digging dip into netlib code and changing things as suggested in  
vnl_svd.txx ?

Thanks for any help,
Sandy




More information about the Insight-users mailing list