Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array line intersector test fails #89

Closed
niermann999 opened this issue Oct 20, 2022 · 4 comments · Fixed by #88
Closed

Array line intersector test fails #89

niermann999 opened this issue Oct 20, 2022 · 4 comments · Fixed by #88
Labels
bug Something isn't working

Comments

@niermann999
Copy link
Contributor

niermann999 commented Oct 20, 2022

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 niermann999 added the bug Something isn't working label Oct 20, 2022
@niermann999
Copy link
Contributor Author

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

@beomki-yeo
Copy link
Contributor

beomki-yeo commented Oct 20, 2022

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

@niermann999
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@niermann999 niermann999 transferred this issue from acts-project/detray Jan 27, 2023
@niermann999 niermann999 linked a pull request Jan 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants