I also tried with the example in the document but I got different result.
sage: for i in range(7):
....:     print(len(list(graphs(i))))
....:     
1
0
0
0
0
0
0


In the 
document: 
http://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_generators.html

sage: for i in range(7):....:     print(len(list(graphs(i))))11241134156


On Tuesday, March 12, 2019 at 8:40:19 PM UTC-7, Ai Bo wrote:
>
> Just compiled sage from source code on Linux.
> When I launched ./sage, I can do simple math like 2+2 which give correct 
> But when I type:
> sage: import sage.graphs
>
> sage: print("%d" % len(list(graphs.nauty_geng("8"))))
>
> sage: print("%d" % len(list(graphs(8))))
>
> I got 0 for both which are not as expected. Something is wrong. Please 
> help.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to