Advertisement
Guest User

error

a guest
Apr 6th, 2014
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. TEST(CSVFileTest, load_test)
  2. {
  3. /* This test is different from matrix_float64 as it uses the csv file
  4. * generated by savetxt method in numpy (See issue #1991 for details)
  5. */
  6. //This is the line where I get the error, ctest is unable to load it.
  7. CCSVFile* cfile = new CCSVFile("../test_20k.csv");
  8. SGMatrix<double> mat = SGMatrix<double>();
  9. mat.load(cfile);
  10. SG_UNREF(cfile);
  11.  
  12. EXPECT_EQ(mat.num_cols, 20000);
  13. EXPECT_EQ(mat.num_rows, 70);
  14. //unlink("test_20k.csv");
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement