Opened 13 years ago

Closed 13 years ago

#305 closed defect (fixed)

matrix_test and score_test fail on linux

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.4
Component: utility Version: trunk
Keywords: Cc:


Test fail on my pristine checkout too.

This probably some problem with the vector class. I get the following assertions

gsl: /usr/local/include/gsl/gsl_vector_double.h:200: ERROR: index out of range
Default GSL error handler invoked.
FAIL: matrix_test
lt-score_test: virtual double theplu::yat::statistics::AUC::score(const theplu::yat::classifier::Target&, const theplu::yat::utility::VectorBase&, const theplu::yat::utility::VectorBase&) const: Assertion `target.size()==value.size()' failed.
FAIL: score_test

Change History (4)

comment:1 Changed 13 years ago by Peter

Now also knn_test fails with GSL reporting out of range.

comment:2 Changed 13 years ago by Peter

added test test program for view in [1114]

On my linux machine the output becomes:

f aa: 7 8 9
f bb: 
f aa: 7 8 9
f bb: 
f aa: 7 8 9
f bb: 7 8 9
f aa: 7 8 9
f bb: 
data 2:

which is quite different when running it on Mac.

comment:3 Changed 13 years ago by Markus Ringnér

I guess all of this indicates that there is a pointer that is not properly initialized?

comment:4 Changed 13 years ago by Peter

Resolution: fixed
Status: newclosed

in [1118]

Note: See TracTickets for help on using tickets.