digraphs / Digraphs

The GAP package Digraphs
https://digraphs.github.io/Digraphs
Other
30 stars 44 forks source link

Confusing error message in DigraphByEdges #645

Closed ChrisJefferson closed 1 month ago

ChrisJefferson commented 4 months ago
gap> DigraphByEdges([ [1,2], [3,0] ]);
Error, the 1st argument <edges> must not contain values greater than 3, the 2nd argument <n>,

Well, nothing is greater than 3! What the error means (after I stuck some messages in the code, in reality the graph I was working on was much, much bigger :) ) is edges must contain only positive integers which are not greater than 3.

james-d-mitchell commented 4 months ago

I'm going to mark this as resolved, unless you disagree @ChrisJefferson

ChrisJefferson commented 4 months ago

No, looks good!