flatsurf / sage-flatsurf

Flat surfaces in Sage
https://flatsurf.github.io/sage-flatsurf/
GNU General Public License v2.0
10 stars 10 forks source link

Error in saddle connection search #257

Open saraedum opened 12 months ago

saraedum commented 12 months ago

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 commented 12 months ago

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)