c3sr / pangolin

6 stars 0 forks source link

postfix increment is actually prefix increment #12

Open cwpearson opened 5 years ago

cwpearson commented 5 years ago

https://github.com/c3sr/pangolin/blob/465e719fbe62e94537e71d322cef093721347b5c/include/pangolin/reader/edge_list_reader.hpp#L45

it should probably be ++(*this) instead of ++i;