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

Error in flow_to_exit #258

Open
saraedum opened this issue Oct 10, 2023 · 1 comment
Open

Error in flow_to_exit #258

saraedum opened this issue Oct 10, 2023 · 1 comment
Labels

Comments

@saraedum
Copy link
Member

Here, the flow is computed incorrectly. We are flowing in direction (0, 1) so we should not be able to go from (2, 1) to (2, 0).

sage: from flatsurf import Polygon
sage: P = Polygon(vertices=[(1, 0), (1, -2), (3/2, -5/2), (2, -2), (2, 0), (2, 1), (2, 3), (3/2, 7/2), (1, 3), (1, 1)])
sage: P.flow_to_exit(vector((2, 1)), vector((0, 1)))
((2, 0), point positioned on vertex 4 of polygon)
# should be: ((2, 3), point positioned on vertex 6 of polygon)
@saraedum
Copy link
Member Author

saraedum commented Jan 9, 2024

Fixed in #211.

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

No branches or pull requests

1 participant