SPORF icon indicating copy to clipboard operation
SPORF copied to clipboard

travis test fails in C++

Open falkben opened this issue 5 years ago • 1 comments

Describe the bug Travis fails intermittently in C++ tests

To Reproduce ???

test: ./fpTests/RerF/../../../src/forestTypes/basicForests/rerf/../labeledData.h:37: T fp::labeledData<T>::midVal(const fp::labeledData<T>&) [with T = double]: Assertion `dataElement != (dataElement+otherData.dataElement)/2.0' failed. Makefile:87: recipe for target 'test' failed make: *** [test] Aborted (core dumped)

Example of a failure: https://travis-ci.org/neurodata/RerF/jobs/534989545

@jbrowne6 would be awesome if you could take a look at this

falkben avatar Jun 05 '19 16:06 falkben

Describe the bug

Travis fails intermittently in C++ tests

To Reproduce

in packedForest/test/fpTests/rerfTreeTest.h if mtry is set to 3 I get the error below:

starting tree 1test: ./fpTests/RerF/../../../src/forestTypes/basicForests/rerf/../labeledData.h:37: T fp::labeledData<T>::midVal(const fp::labeledData<T>&) [with T = double]: Assertion `dataElement != (dataElement+otherData.dataElement)/2.0' failed.

Makefile:87: recipe for target 'test' failed

make: *** [test] Aborted (core dumped)

@jbrowne6 have you had a chance to investigate this yet?

MrAE avatar Jun 12 '19 17:06 MrAE