SVD sign ambiguity with MKL

Issue #112 resolved
Chris Beall created an issue

Turning on MKL results in a few failures in testMatrix because of a sign ambiguity when computing the SVD.

12/174 Test  #12: testMatrix .............................***Failed    0.08 sec
not equal:
expected = [
         0.0,             -1,   
         0.0,            0.0,   
           1,            0.0,   
];
actual = [
         0.0,              1,   
         0.0,            0.0,   
          -1,            0.0,   
];
actual - expected = [
         0.0,              2,   
         0.0,            0.0,   
          -2,            0.0,   
];
/home/cbeall3/git/gtsam/gtsam/base/tests/testMatrix.cpp:1130: Failure: "assert_equal(expectedU,U)" 

Comments (1)

  1. Log in to comment