-
Notifications
You must be signed in to change notification settings - Fork 65
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
Massmatrix and Cotmatrix both returning an empty matrix. #242
Comments
This is a known issue and I'm working on a fix. It'd be helpful to know if you installed libigl-python-bindings from source or using pip with precompiled binaries. |
This was pip with precompiled binaries, for both Py3.12.7 + IGL2.5.1 and Py3.11.10 + IGL2.4.1 |
Yikes. Interesting. Well the short answer is that the issues is a problem with numpy >1.26.4 and pybind11 (a dependency of libigl's bindings procedure). I thought that bindings built with old numpy would still work when used with a newer numpy. You could try downgrading your numpy for now. |
Downgrading to numpy 1.26.4 seems to have solved the issue, thanks! |
It seems like the massmatrix and cotmatrix functions are always returning an empty matrix, without any errors or warnings. Here is a simple setup:
Prints:
I ran this on a bare-bones venv, using Python 3.12.7. Pip freeze shows:
And strangely dropping the Python version to 3.11.10 and using
libigl==2.4.1
does not help either.Am I missing some sort of dependency?
The text was updated successfully, but these errors were encountered: