Skip to content
Snippets Groups Projects
Commit 570821e7 authored by jonas.stirnema's avatar jonas.stirnema
Browse files

Modified comment in check nb eroor

parent 3630a6a7
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,6 @@ def check_nb_error(l: list, p: polynome) -> int:
nbr_error = 0
for _, item in enumerate(l):
if (item % p.prime_mod) != (p.evaluate(_) % p.prime_mod):
print(f"{item} != p.evaluate({_}) = {p.evaluate(_)}")
print(f"DEBUG PURPOSES ONLY {item} != p.evaluate({_}) = {p.evaluate(_)}")
nbr_error += 1
return nbr_error
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment