snap-stanford / snap

Stanford Network Analysis Platform (SNAP) is a general purpose network analysis and graph mining library.
Other
2.17k stars 797 forks source link

Fix bugs in temporal motif counting #137

Closed arbenson closed 6 years ago

arbenson commented 6 years ago

Two bugs were pointed out by users: (1) Self-loops should be ignored (2) The output file had a bug that copied the same motif count twice

Each bug fix is a one-liner.

roks commented 6 years ago

Thank you for the bugs fixes!