diff options
author | Hind-M <hind.montassif@gmail.com> | 2021-05-21 17:32:43 +0200 |
---|---|---|
committer | Hind-M <hind.montassif@gmail.com> | 2021-05-21 17:32:43 +0200 |
commit | a571f198535b5ab5751eb55693371e9348aa1804 (patch) | |
tree | 064e64b3b6f5c3db4f836e160cf4b615d8e9380c /src | |
parent | bcb317bf2dada68dfff02dd6a3fc53c0c70741d6 (diff) |
Fix issue #489 RipsComplex out of bounds access
Diffstat (limited to 'src')
-rwxr-xr-x | src/python/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py b/src/python/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py index 236d085d..9320d904 100755 --- a/src/python/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py +++ b/src/python/example/rips_complex_diagram_persistence_from_distance_matrix_file_example.py @@ -44,7 +44,7 @@ print("RipsComplex creation from distance matrix read in a csv file") message = "RipsComplex with max_edge_length=" + repr(args.max_edge_length) print(message) -distance_matrix = gudhi.read_lower_triangular_matrix_from_csv_file(csv_file=args.file) +distance_matrix = gudhi.read_lower_triangular_matrix_from_csv_file(csv_file=args.file, separator=',') rips_complex = gudhi.RipsComplex( distance_matrix=distance_matrix, max_edge_length=args.max_edge_length ) |