diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2022-01-04 17:54:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 17:54:23 +0100 |
commit | 5eea7c4065873d5542df9a6c18acaf2402cf7822 (patch) | |
tree | e1cbb885d7e69a0f8d3ae62a646637847f3fc5a7 /src/Persistent_cohomology/include | |
parent | 1572629b30ec630799eb64763b58b54f0884ff25 (diff) | |
parent | a2b5e8afab53835ef442451c6763c103f02ac4f5 (diff) |
Merge pull request #556 from Hind-M/python_tests_debug
Fix failing tests in debug mode
Diffstat (limited to 'src/Persistent_cohomology/include')
-rw-r--r-- | src/Persistent_cohomology/include/gudhi/Persistent_cohomology/Field_Zp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Persistent_cohomology/include/gudhi/Persistent_cohomology/Field_Zp.h b/src/Persistent_cohomology/include/gudhi/Persistent_cohomology/Field_Zp.h index 8ec89e41..f442b632 100644 --- a/src/Persistent_cohomology/include/gudhi/Persistent_cohomology/Field_Zp.h +++ b/src/Persistent_cohomology/include/gudhi/Persistent_cohomology/Field_Zp.h @@ -34,8 +34,6 @@ class Field_Zp { } void init(int charac) { - assert(charac > 0); // division by zero + non negative values - Prime = charac; // Check that the provided prime is less than the maximum allowed as int, calculation below, and 'plus_times_equal' function : 46337 ; i.e (max_prime-1)*max_prime <= INT_MAX |