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

Resolution parameters switched in documentation for torus function #113

Open
zoemarschner opened this issue Feb 13, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@zoemarschner
Copy link

The documentation for the torus function states that the first parameter (nR) is the number of vertices along the large perimeter and the second parameter (nr) is the number of vertices along the small perimeter, but in the code the meaning of these parameters are switched.

V,F = gpy.torus(10, 3, R=1., r=0.1) produces:
torcus_actual

But according to the documentation should produce:
torus_expected

@odedstein
Copy link
Collaborator

Thanks for pointing this out, Zoë!

@odedstein odedstein added the bug Something isn't working label Feb 13, 2024
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

No branches or pull requests

2 participants