On Wed, Aug 15, 2012 at 3:24 PM, Sam Steingold <[email protected]> wrote: > On Wed, Aug 15, 2012 at 3:17 PM, Gábor Csárdi <[email protected]> wrote: >> On Wed, Aug 15, 2012 at 12:54 PM, Sam Steingold <[email protected]> wrote: >> [...] >>> Error in spinglass.community(mygr10, gamma = 10, spins = 1000) : >>> At clustertool.cpp:258 : Invalid number of spins, Invalid value >> >> I guess you set the maximum number of spins (=communities) higher than >> the number of vertices in the graph. > > nope, I have 6k vertexes there.
It seems that there is an internal limit of 500 communities, I am not sure why. You can modify the source code to eliminate it, just remove the check in line 258 of clustertool.cpp. G. > > -- > Sam Steingold <http://sds.podval.org> <http://www.childpsy.net/> -- Gabor Csardi <[email protected]> MTA KFKI RMKI _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
