From 11e76f499ef9c8c03884e91d02eea2a88c4acf4d Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Fri, 13 Sep 2019 11:46:56 -0500 Subject: E --- csci1913/lab1/lab1_strap012.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csci1913/lab1/lab1_strap012.py b/csci1913/lab1/lab1_strap012.py index d69ddc6..48e2ffe 100644 --- a/csci1913/lab1/lab1_strap012.py +++ b/csci1913/lab1/lab1_strap012.py @@ -20,7 +20,7 @@ def solve(v, e): elif isInside(v,right(e)): newE=(right(e),op(e),left(e)) return solving(v,newE) - #Solving defined on line 53 + #Solving defined on line 52 else: return None @@ -56,7 +56,7 @@ def solving(v,q): if op(left(q)) in dispatcher: newQ= dispatcher[op(left(q))](v,q) else: - return -2 + raise ValueError return solving(v,newQ) # -- cgit v1.2.3