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

Incompatible numpy versions #55

Open
NathanTambeurRelu opened this issue Aug 30, 2024 · 2 comments
Open

Incompatible numpy versions #55

NathanTambeurRelu opened this issue Aug 30, 2024 · 2 comments

Comments

@NathanTambeurRelu
Copy link

Hey,

Thank you for the great library!
I was trying to integrate it into our codebase but noticed that it only works for numpy versions 1.23 or lower.
Using our numpy version 1.26.4 I get the following error:

[2024-08-30 09:49:26.528] [CoACD] [info] iter 5 ---- waiting pool: 32
[2024-08-30 09:49:26.528] [CoACD] [info] Processing [0.0%]
[2024-08-30 09:49:26.528] [CoACD] [info] Processing [75.0%]
[2024-08-30 09:49:26.528] [CoACD] [info] Processing [37.5%]
[2024-08-30 09:49:26.528] [CoACD] [info] Processing [87.5%]
[2024-08-30 09:49:26.729] [CoACD] [info] Processing [12.5%]
[2024-08-30 09:49:26.918] [CoACD] [info] Processing [25.0%]
[2024-08-30 09:49:26.987] [CoACD] [info] Processing [50.0%]
[2024-08-30 09:49:27.249] [CoACD] [info] Processing [62.5%]
python: /project/3rd/cdt/CDT/include/CDTUtils.hpp:188: CDT::Index CDT::edgeNeighborInd(const VerticesArr3&, CDT::VertInd, CDT::VertInd): Assertion `vv[0] == iVedge1 || vv[1] == iVedge1 || vv[2] == iVedge1' failed.

Any advice on how I could fix this?

@SarahWeiii
Copy link
Owner

This seems to be an error from CDT, not from numpy, does it still happen if you run again on the same input?

@NathanTambeurRelu
Copy link
Author

It happens every time I run the algorithm at the exact same moment in the algorithm. The cause is indeed cdt not working with numpy versions above 1.23 I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants