diff options
author | MathieuCarriere <mathieu.carriere3@gmail.com> | 2020-01-16 21:29:55 -0500 |
---|---|---|
committer | MathieuCarriere <mathieu.carriere3@gmail.com> | 2020-01-16 21:29:55 -0500 |
commit | 62e92e64bd97ec0bd26c31e071228f7d7c78b0e5 (patch) | |
tree | 01c074044487e93722b80d942f398f1ce9834dfe /src/python/gudhi | |
parent | 19562b27182dcfa6ed262002c2bc8934382f5a53 (diff) |
fixed typo for CubicalComplex
Diffstat (limited to 'src/python/gudhi')
-rw-r--r-- | src/python/gudhi/cubical_complex.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/cubical_complex.pyx b/src/python/gudhi/cubical_complex.pyx index 8ea31486..bd432834 100644 --- a/src/python/gudhi/cubical_complex.pyx +++ b/src/python/gudhi/cubical_complex.pyx @@ -86,7 +86,7 @@ cdef class CubicalComplex: elif ((dimensions is None) and (top_dimensional_cells is None) and (perseus_file != '')): if os.path.isfile(perseus_file): - self.thisptr = new Bitmap_cubical_complex_base_interface(str.encode(perseus_file)) + self.thisptr = new Bitmap_cubical_complex_base_interface(perseus_file.encode('utf-8')) else: print("file " + perseus_file + " not found.") else: |