From: Tomas Musil Date: Thu, 3 Jul 2014 02:18:10 +0000 (+0200) Subject: fix error in error-handling X-Git-Url: http://git.tomasm.cz/imago.git/commitdiff_plain/7f4334b61a001eb1a2df878f804a9f6771263709?ds=inline;hp=6043532d944c572b124e0363c416929d74ea8f23 fix error in error-handling --- 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: