summaryrefslogtreecommitdiff
path: root/src/python/gudhi/alpha_complex.pyx
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2019-11-16 23:48:59 +0100
committerGitHub <noreply@github.com>2019-11-16 23:48:59 +0100
commitda7a9e0eea4702f3b3d59a8770ef89ffa19ff345 (patch)
treed5892b3484bdce75b0631db934ffe39fc9601da3 /src/python/gudhi/alpha_complex.pyx
parent2ed1a86fa21d136cd7fe6fedbfc796799903038a (diff)
parentc3414741af6ef98703ba9414803aff5a2d08777d (diff)
Merge pull request #137 from mglisse/is_equal
Replace 'is' with == or similar.
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 6d6309db..a85c47c8 100644
--- a/src/python/gudhi/alpha_complex.pyx
+++ b/src/python/gudhi/alpha_complex.pyx
@@ -68,7 +68,7 @@ cdef class AlphaComplex:
# The real cython constructor
def __cinit__(self, points=None, off_file=''):
- if off_file is not '':
+ if off_file:
if os.path.isfile(off_file):
self.thisptr = new Alpha_complex_interface(str.encode(off_file), True)
else: