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

Fix Mesh: Too many values to unpack #46

Open
ml14je opened this issue Oct 8, 2021 · 0 comments
Open

Fix Mesh: Too many values to unpack #46

ml14je opened this issue Oct 8, 2021 · 0 comments

Comments

@ml14je
Copy link
Contributor

ml14je commented Oct 8, 2021

In the README.md, it is suggested that to ensure that the vertices of each element are arranged in a counter-clockwise fashion, one simply uses the command points, cells = fix_mesh(points, cells). I had the error of two many values to unpack. Upon investigation, I could see that fix_mesh returns three outputs. To fix this in my own code, I simply changed it to

points, cells, jx = fix_mesh(points, cells)

Sorry, just thought others would find that helpful. (I have changed that in mine, and will submit a pull request once I am satisfied with other edits I have made.

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

1 participant