diff options
author | Hind-M <hind.montassif@gmail.com> | 2021-07-01 15:56:11 +0200 |
---|---|---|
committer | Hind-M <hind.montassif@gmail.com> | 2021-07-01 15:56:11 +0200 |
commit | 62b63fd55442b152b934dc0c9ed662970ddb32dc (patch) | |
tree | 2761d546ba943a40a2973b499e884e7d21442c07 /src/python/gudhi/simplex_tree.pxd | |
parent | 68031184fb94cf19c8b3c6f0de122db447693847 (diff) |
Move primality test to Field_Zp::init
Throw exception when not prime
Add tests
Diffstat (limited to 'src/python/gudhi/simplex_tree.pxd')
-rw-r--r-- | src/python/gudhi/simplex_tree.pxd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/simplex_tree.pxd b/src/python/gudhi/simplex_tree.pxd index 3b8ea4f9..006a24ed 100644 --- a/src/python/gudhi/simplex_tree.pxd +++ b/src/python/gudhi/simplex_tree.pxd @@ -78,7 +78,7 @@ cdef extern from "Simplex_tree_interface.h" namespace "Gudhi": cdef extern from "Persistent_cohomology_interface.h" namespace "Gudhi": cdef cppclass Simplex_tree_persistence_interface "Gudhi::Persistent_cohomology_interface<Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_full_featured>>": Simplex_tree_persistence_interface(Simplex_tree_interface_full_featured * st, bool persistence_dim_max) nogil - void compute_persistence(int homology_coeff_field, double min_persistence) nogil + void compute_persistence(int homology_coeff_field, double min_persistence) nogil except + vector[pair[int, pair[double, double]]] get_persistence() nogil vector[int] betti_numbers() nogil vector[int] persistent_betti_numbers(double from_value, double to_value) nogil |