aboutsummaryrefslogtreecommitdiffstats
path: root/csci1913
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--csci1913/lab1/lab1_strap012.py4
1 files 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)
#