Hi, Luigi,
in pseudoSqrt.cpp the checking of symmetric matrix may fail
due to rounding errors in construction of a matrix.
For safety, line 235 and 343
QL_REQUIRE(matrix[i][j] == matrix[j][i],
"matrix not symmetric");
should be changed to QL_REQUIRE(fabs(matrix[i][j]
-matrix[j][i])< QL_EPSILON ,
"matrix not symmetric");
The current check thinks
0.026098788171586292 0.026098788171586288 are different.
Thanks.
------------------------------------
Peter Li
Free forum by Nabble | Edit this page |