snap-stanford / snap

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

Issue with the GetIntAttr(col_idx) Method #219

Open hcars opened 3 years ago

hcars commented 3 years ago

In SNAP 5.0, you could call GetIntAttr(col_idx) where col_idx is the index of the column you would like to retrieve from a row iterator. In SNAP 6.0, this method claims to still allow this in the documentation; however, it always gives a segmentation fault if you pass an integer. This method only works if called in the manner GetIntAttr(col_name) where col_name is a string denoting the column whose value you would like to retrieve from a row iterator.