Digraphs icon indicating copy to clipboard operation
Digraphs copied to clipboard

Confusing error message in DigraphByEdges

Open ChrisJefferson opened this issue 1 year ago • 2 comments

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.

ChrisJefferson avatar May 09 '24 05:05 ChrisJefferson

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

james-d-mitchell avatar May 10 '24 13:05 james-d-mitchell

No, looks good!

ChrisJefferson avatar May 11 '24 03:05 ChrisJefferson