summaryrefslogtreecommitdiff
path: root/src/python/gudhi/alpha_complex.pyx
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2020-06-05 17:59:37 +0200
committerGitHub <noreply@github.com>2020-06-05 17:59:37 +0200
commita4598f043824db493369d3e78048139988bde9aa (patch)
treebd80f3726053e929b608d8f542cc94361fc47dfe /src/python/gudhi/alpha_complex.pyx
parenta7decae3cdf47441cbd72c31e794176dbd3739c4 (diff)
Update src/python/gudhi/alpha_complex.pyx
Co-authored-by: Marc Glisse <marc.glisse@inria.fr>
Diffstat (limited to 'src/python/gudhi/alpha_complex.pyx')
-rw-r--r--src/python/gudhi/alpha_complex.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/alpha_complex.pyx b/src/python/gudhi/alpha_complex.pyx
index 5bc9ebc4..80e54da0 100644
--- a/src/python/gudhi/alpha_complex.pyx
+++ b/src/python/gudhi/alpha_complex.pyx
@@ -75,7 +75,7 @@ cdef class AlphaComplex:
# The real cython constructor
def __cinit__(self, points = None, off_file = '', complexity = 'safe'):
- assert complexity == 'fast' or complexity == 'safe' or complexity == 'exact', "Alpha complex complexity can be 'fast', 'safe' or 'exact'"
+ assert complexity in ['fast', 'safe', 'exact'], "Alpha complex complexity can only be 'fast', 'safe' or 'exact'"
self.fast = complexity == 'fast'
self.exact = complexity == 'safe'