summaryrefslogtreecommitdiff
path: root/src/python/gudhi/tangential_complex.pyx
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2020-01-16 12:32:56 +0100
committerGitHub <noreply@github.com>2020-01-16 12:32:56 +0100
commit32a5b2ed4f69cc085dfef66bd44d00fd375d1cc9 (patch)
treec96f825a731b82f7240b2ffc81a57a8dd2bffa92 /src/python/gudhi/tangential_complex.pyx
parent8c20dd2dc4b3b192badb6d26c27efdaaa32cd9bd (diff)
parentd747facccbe835be1384e569cf3d6e4c335c0364 (diff)
Merge pull request #202 from VincentRouvreau/cython_language_level_not_set
Cython language level not set
Diffstat (limited to 'src/python/gudhi/tangential_complex.pyx')
-rw-r--r--src/python/gudhi/tangential_complex.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/tangential_complex.pyx b/src/python/gudhi/tangential_complex.pyx
index 0083033c..6391488c 100644
--- a/src/python/gudhi/tangential_complex.pyx
+++ b/src/python/gudhi/tangential_complex.pyx
@@ -66,7 +66,7 @@ cdef class TangentialComplex:
def __cinit__(self, intrisic_dim, points=None, off_file=''):
if off_file:
if os.path.isfile(off_file):
- self.thisptr = new Tangential_complex_interface(intrisic_dim, str.encode(off_file), True)
+ self.thisptr = new Tangential_complex_interface(intrisic_dim, off_file.encode('utf-8'), True)
else:
print("file " + off_file + " not found.")
else: