Commit e79f2cd3 authored by Stefan Behnel's avatar Stefan Behnel

Add missing return statement in "cdiv" shadow implementation.

Closes #1806.
parent f68f694a
...@@ -144,6 +144,7 @@ def cdiv(a, b): ...@@ -144,6 +144,7 @@ def cdiv(a, b):
q = a / b q = a / b
if q < 0: if q < 0:
q += 1 q += 1
return q
def cmod(a, b): def cmod(a, b):
r = a % b r = a % b
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment