-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Description
语句cyaron.Graph.DAG(10, 90, repeated_edges=False)
将导致无限循环。
Lines 609 to 615 in 0865426
if not repeated_edges: | |
max_edge = Graph._calc_max_edge(point_count, not loop, self_loop) | |
if edge_count > max_edge: | |
raise Exception( | |
"the number of edges of this kind of graph which has %d vertexes must be less than or equal to %d." | |
% (point_count, max_edge)) | |
应把 610 行的 not loop
换成 loop
。
Metadata
Metadata
Assignees
Labels
No labels