Closed flomlo closed 3 years ago
Thanks for spotting this! Looks like it should be easy to fix, thanks for volunteering! I agree that tests should be added, would you like to have a go at that too?
I've never written test suits before, but I can just copy-paste the code beloging to save_weighted_flag, which is covered by the test suit iirc.
Fixed by #60
Description
save_weighted_flag
throws error instead of doing it's job.Steps/Code to Reproduce
1) Have a binary adjacency matrix
G
2) callsave_weighted_flag('foo.bar', G)
Expected Results
saves flag to
foo.bar
Actual Results
crashes:
Versions
everything is fresh from the git
Fix:
The following diff fixes this:
I'll open a PR soon. First need to figure out how :D