acts-project / algebra-plugins

Mozilla Public License 2.0
3 stars 10 forks source link

Array line intersector test fails #89

Closed niermann999 closed 1 year ago

niermann999 commented 1 year ago

When running the detray_test_array executable the line_intersector_case1 fails with the following error:

coordinate.line2_case1
detray_test_array: /home/jniermann/Projects/experimental/detray/build/_deps/algebraplugins-src/math/cmath/include/algebra
/math/impl/cmath_getter.hpp:163: algebra::cmath::vector_getter<size_type, array_t, scalar_t, SIZE, result_t>::result_type 
algebra::cmath::vector_getter<size_type, array_t, scalar_t, SIZE, result_t>::operator()(algebra::cmath::vector_getter<size_type, 
array_t, scalar_t, SIZE, result_t>::matrix_type<ROWS, COLS>&, std::size_t, std::size_t) [with size_type ROWS = 3; size_type 
COLS = 3; size_type = long unsigned int; array_t = std::array; scalar_t = float; size_type SIZE = 3; result_t = std::array<float, 3>;
 algebra::cmath::vector_getter<size_type, array_t, scalar_t, SIZE, result_t>::result_type = std::array<float, 3>; 
algebra::cmath::vector_getter<size_type, array_t, scalar_t, SIZE, result_t>::matrix_type<ROWS, COLS> = 
std::array<std::array<float, 3>, 3>; std::size_t = long unsigned int]: Assertion `row + SIZE < ROWS' failed.

Abgebrochen (Speicherabzug geschrieben)

It still works in acts-project/detray#303 . I randomly picked commit 0f470915cae7151792541c0107bf96367b28dcb0 (Merge pull request acts-project/detray#319 from beomki-yeo/add-bfield-in-telescope), where it is already broken...

Then, I checked out acts-project/detray#316 , wiped the build directory and built from scratch, but to no avail. Any ideas?

niermann999 commented 1 year ago

Sry, the last line means something like "aborted (core dumped)" . My terminal unfortunately speaks German

beomki-yeo commented 1 year ago

So you don't know which commit is causing the error? BTW it's working well with my desktop

niermann999 commented 1 year ago

Hm, I don't really know where to look for changes on the line intersector (maybe I just didn't see it?). And it takes a while to build a commit...

niermann999 commented 1 year ago

Yes, it is also working in the CI, right? Let me switch compilers...