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:

Description

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: AUC.cc:81: 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:

First
f aa: 7 8 9
f bb: 
Second
f aa: 7 8 9
f bb: 
Third
f aa: 7 8 9
f bb: 7 8 9
Fourth
f aa: 7 8 9
f bb: 
data 2:
1
1
1

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.