From 7f4334b61a001eb1a2df878f804a9f6771263709 Mon Sep 17 00:00:00 2001 From: Tomas Musil Date: Thu, 3 Jul 2014 04:18:10 +0200 Subject: [PATCH 1/1] fix error in error-handling --- src/gridf3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gridf3.py b/src/gridf3.py index 92f07c4..4f2a1e3 100644 --- a/src/gridf3.py +++ b/src/gridf3.py @@ -105,7 +105,7 @@ def gen_corners(d1, d2): c3 = [p for p in d1.points if p in c2.l2.points][0] c4 = [p for p in d2.points if p in c3.l1.points][0] except IndexError: - pass + continue # there is not a corresponding intersection # TODO create an intersection? try: -- 2.4.2