delaunay.c crashes on input
Brought to you by:
popinet
If a file "err1.gts" contains this:
4 4 0
0 0 0
1 0 0
1 5 0
0 5 0
1 2
2 3
3 4
4 1
and I run the command "delaunay -a 0.1 -s2 < err1.gts" (in 0.7.6 under Cygwin) then it crashes with the error
Gts-examples-WARNING **: cannot set locale to POSIX
Gts-ERROR **: file refine.c: line 393 (gts_delaunay_refine): assertion failed: (
gts_delaunay_add_vertex (surface, c, f) == NULL)
aborting...
4 [sig] delaunay 164 d:\cygwin\usr\local\bin\delaunay.exe: *** fatal error
- called with threadlist_ix -1
Hangup
Logged In: NO
jakatak f u