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

dual_laplacian crashes matlab if I (incorrectly) give it triangle mesh #110

Open
otmanon opened this issue Jun 2, 2021 · 1 comment
Open

Comments

@otmanon
Copy link
Contributor

otmanon commented Jun 2, 2021

dual_laplacian expects a tet-mesh defined by V and T as input. If you pass in a triangle mesh instead all of matlab crashes (at least on windows 10). I know it doesn't expect a triangle mesh, and works fine if you give it the expected input... but crashing all of matlab is a harsh punishment for forgetting one measly column :( .

@alecjacobson
Copy link
Owner

thanks. it should use mexErrMsgTxt([condition],"message"); if you're keen, you could submit a PR and I'll merge right away.

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