diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2020-01-16 12:32:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-16 12:32:56 +0100 |
commit | 32a5b2ed4f69cc085dfef66bd44d00fd375d1cc9 (patch) | |
tree | c96f825a731b82f7240b2ffc81a57a8dd2bffa92 /src/python/gudhi/alpha_complex.pyx | |
parent | 8c20dd2dc4b3b192badb6d26c27efdaaa32cd9bd (diff) | |
parent | d747facccbe835be1384e569cf3d6e4c335c0364 (diff) |
Merge pull request #202 from VincentRouvreau/cython_language_level_not_set
Cython language level not set
Diffstat (limited to 'src/python/gudhi/alpha_complex.pyx')
-rw-r--r-- | src/python/gudhi/alpha_complex.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/alpha_complex.pyx b/src/python/gudhi/alpha_complex.pyx index db11416c..f3ca3dd5 100644 --- a/src/python/gudhi/alpha_complex.pyx +++ b/src/python/gudhi/alpha_complex.pyx @@ -69,7 +69,7 @@ cdef class AlphaComplex: def __cinit__(self, points = None, off_file = ''): if off_file: if os.path.isfile(off_file): - self.thisptr = new Alpha_complex_interface(str.encode(off_file), True) + self.thisptr = new Alpha_complex_interface(off_file.encode('utf-8'), True) else: print("file " + off_file + " not found.") else: |