-
Notifications
You must be signed in to change notification settings - Fork 264
Closed
Description
@klayoutmatthias
I noticed this while debugging the devel branch, but can also reproduce it with PyPi's klayout-0.29.11-cp312-cp312-macosx_11_0_arm64.whl
Steps to reproduce
import klayout.db as kdb
r = kdb.Region(kdb.Polygon([kdb.Point(-8000, -8075), kdb.Point(-8000, 8075), kdb.Point(18000, 8075), kdb.Point(18000, -8075)]))
r.delaunay(50, 0.5)which yields the error
ERROR: src/db/db/dbTriangle.cc,450,fabs (s) > db::epsilon
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: Internal error: src/db/db/dbTriangle.cc:450 fabs (s) > db::epsilon was not true in Region.delaunay
Reactions are currently unavailable