2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

fixed bug

This commit is contained in:
Martin Thoma 2013-09-01 12:40:23 +02:00
parent b0a72dc66c
commit b9095ef768
3 changed files with 3 additions and 3 deletions

View file

@ -27,9 +27,9 @@ def calculateLegendre(a, p):
>>> calculateLegendre(3, 29)
-1
>>> calculateLegendre(111, 41)
>>> calculateLegendre(111, 41) # Beispiel aus dem Skript, S. 114
-1
>>> calculateLegendre(113, 41)
>>> calculateLegendre(113, 41) # Beispiel aus dem Skript, S. 114
1
"""
if a >= p or a < 0: