summaryrefslogtreecommitdiff
path: root/testing_and_debugging/slides.org
diff options
context:
space:
mode:
Diffstat (limited to 'testing_and_debugging/slides.org')
-rw-r--r--testing_and_debugging/slides.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing_and_debugging/slides.org b/testing_and_debugging/slides.org
index cb5f7ff..377d689 100644
--- a/testing_and_debugging/slides.org
+++ b/testing_and_debugging/slides.org
@@ -73,7 +73,7 @@ Spoken tutorial on -
- Edit gcd.py file
#+begin_src python
def gcd(a, b):
- if b == 0:
+ if a % b == 0:
return a
return gcd(b, a%b)