mbojan / rgraph6

Encoding graphs in graph6, sparse6, and digraph6 formats
https://mbojan.github.io/rgraph6/
GNU General Public License v3.0
12 stars 3 forks source link

added support for larger graphs (fixes #7) and fixed #9 #11

Closed schochastics closed 4 years ago

schochastics commented 4 years ago

Support for large graphs:

C++ issue The problem was in d2b in this line:

  while (k >= 0)
    binary[n++] = temp[--k];

k could become -1.
I rewrote the d2b function with std::vector and the reverse function

misc
fixed a typo in vignette

mbojan commented 4 years ago

Thanks @schochastics !