giotto-ai / pyflagser

Python bindings and API for the flagser C++ library (https://github.com/luetge/flagser).
Other
13 stars 15 forks source link

Filtration algorithm vertex_degree produces segmentation fault #22

Closed MonkeyBreaker closed 4 years ago

MonkeyBreaker commented 4 years ago

Description

PR #21 Added test for different filtrations. But testing algorithm vertex_degree produced segmentation fault with dataset d5.flag.

Steps/Code to Reproduce

import 
flag_matrix = loadflag('flagser/test/d5.flag')
res = flagser(flag_matrix, max_dimension=1, directed=False, filtration='vertex_degree')

Expected Results

Results of filtration, but in general no segmentation fault.

Actual Results

segmentation fault (core dumped)

Versions

Version 0.2.0

ulupo commented 4 years ago

@MonkeyBreaker close this?

MonkeyBreaker commented 4 years ago

Yes !