summaryrefslogtreecommitdiff
path: root/src/python/gudhi/alpha_complex.pyx
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-06-05 22:28:03 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2020-06-05 22:28:03 +0200
commit19dc69e6edaac076da5138fe091be367a3652057 (patch)
tree76b31477cead20ecf0a0745fc2bb9164832af295 /src/python/gudhi/alpha_complex.pyx
parent4f02ba9c5a3233ff9d4554578fbe3ae456b9711f (diff)
code review: exact version was not correct
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 d9c2be81..a356384d 100644
--- a/src/python/gudhi/alpha_complex.pyx
+++ b/src/python/gudhi/alpha_complex.pyx
@@ -76,7 +76,7 @@ cdef class AlphaComplex:
def __cinit__(self, points = None, off_file = '', precision = 'safe'):
assert precision in ['fast', 'safe', 'exact'], "Alpha complex precision can only be 'fast', 'safe' or 'exact'"
cdef bool fast = precision == 'fast'
- self.exact = precision == 'safe'
+ self.exact = precision == 'exact'
cdef vector[vector[double]] pts
if off_file: