Skip to content

Commit

Permalink
failing LMNN unit-test : test_pca_init changed
Browse files Browse the repository at this point in the history
  • Loading branch information
mazumdarparijat committed Mar 3, 2014
1 parent fe1cbeb commit e737c4e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unit/metric/LMNN_unittest.cc
Expand Up @@ -101,10 +101,10 @@ TEST(LMNN,train_pca_init)

// check linear transform solution
SGMatrix<float64_t> L=lmnn->get_linear_transform();
EXPECT_NEAR(L(0,0),0.991577280560543,1e-5);
EXPECT_NEAR(L(0,1),0,1e-5);
EXPECT_NEAR(L(1,0),0,1e-5);
EXPECT_NEAR(L(1,1),1.00000080000000002,1e-5);
EXPECT_NEAR(L(1,0),0.991577280560543,1e-5);
EXPECT_NEAR(L(1,1),0,1e-5);
EXPECT_NEAR(L(0,0),0,1e-5);
EXPECT_NEAR(L(0,1),1.00000080000000002,1e-5);

SG_UNREF(lmnn)
}
Expand Down

0 comments on commit e737c4e

Please sign in to comment.