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 saddle connection search #257

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

Error in saddle connection search #257

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

Comments

@saraedum
Copy link
Member

The following does not produce any saddle connections but raises an exception.

sage: from flatsurf import translation_surfaces
sage: S = translation_surfaces.cathedral(1, 2)
sage: S.saddle_connections(1)
ValueError: Singular point with vector pointing away from polygon

This is not related to any recent changes. I went back to sage-flatsurf 0.2.0. The problem is already present there.

@saraedum saraedum added the bug label Oct 10, 2023
@saraedum
Copy link
Member Author

We can handle collinear points in polygons in other examples, e.g., this one works:

sage: translation_surfaces.square_torus().subdivide_edges(3).saddle_connections(10)

saraedum added a commit to saraedum/sage-flatsurf that referenced this issue Oct 10, 2023
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