diff --git a/zobov/voz1b1.c b/zobov/voz1b1.c index c497a23..17d9e22 100644 --- a/zobov/voz1b1.c +++ b/zobov/voz1b1.c @@ -277,6 +277,11 @@ int main(int argc, char *argv[]) { /* Do tesselation*/ printf("File read. Tessellating ...\n"); fflush(stdout); exitcode = delaunadj(parts, nvp, nvpbuf, nvpall, &adjs); + if (exitcode != 0) + { + printf("Error while tesselating. Stopping here."); fflush(stdout); + exit(1); + } /* Now calculate volumes*/ printf("Now finding volumes ...\n"); fflush(stdout);