Open reynoldscem opened 2 years ago
Thanks for the report. Would you please try adding those lines to the file include/private/boost_ublas_row_iterator.hpp
? eg. ~after increment
and report here?
void decrement()
{
assert(matrix);
assert(index < matrix->size1() && index >= 0);
index--;
}
(disclaimer: I have not tested this at all, but you get the idea.)
Funnily enough I tried (essentially) this just after putting the report in, and it seems to compile and run all tests just fine.
I am unsure whether I understand correctly what the assert is meant to ensure, I'd presumed keeping the index in bounds? If so is index < matrix->size1() && index >= 0
the right boundary condition? It seems to let index go to -1 which I'd have thought out of bounds?
Anyway thank you for the reply, especially so swift and on an older project! I will see if your assert instead of what I added breaks the tests or not.
Out of curiosity, do you have any insight on why this error has come about? Has boosts API changed? Something else?
Thanks for the report. Would you please try adding those lines to the file
include/private/boost_ublas_row_iterator.hpp
? eg. ~afterincrement
and report here?void decrement() { assert(matrix); assert(index < matrix->size1() && index >= 0); index--; }
(disclaimer: I have not tested this at all, but you get the idea.)
Hi,
I'm having difficulty compiling the tests for the project. I've tried a few different versions of boost, but none earlier than
1.55
.I cannot compile
CMakeFiles/GrassmannAveragesPCA_test.dir/test/test_row_proxy.cpp.o
which fails with the following:Any advice would be greatly appreciated.