@@ -2223,12 +2223,21 @@ InstallMethod(Graph6String, "for a digraph by out-neighbours",
22232223function (D )
22242224 local list, adj, n, lenlist, tablen, blist, i, j, pos, block;
22252225 if IsMultiDigraph(D) then
2226- ErrorNoReturn(" the argument <D> must not have multiple edges; consider encoding in Disparse6 or Digraph6" );
2227- elif not IsSymmetricDigraph(D) then
2228- ErrorNoReturn(" the argument <D> must be a symmetric digraph; consider encoding in Sparse6 or Disparse6" );
2229- elif DigraphHasLoops(D) then
2230- ErrorNoReturn(" the argument <D> must not have loops; consider encoding in Sparse6 or Disparse6" );
2231- fi ;
2226+ ErrorNoReturn(
2227+ " the argument <D> must not have multiple edges; " ,
2228+ " consider encoding in Disparse6 or Digraph6"
2229+ );
2230+ elif not IsSymmetricDigraph(D) then
2231+ ErrorNoReturn(
2232+ " the argument <D> must be a symmetric digraph; " ,
2233+ " consider encoding in Sparse6 or Disparse6"
2234+ );
2235+ elif DigraphHasLoops(D) then
2236+ ErrorNoReturn(
2237+ " the argument <D> must not have loops; " ,
2238+ " consider encoding in Sparse6 or Disparse6"
2239+ );
2240+ fi ;
22322241
22332242 list := [] ;
22342243 adj := OutNeighbours(D);
@@ -2351,9 +2360,15 @@ function(D)
23512360
23522361 if not IsSymmetricDigraph(D) then
23532362 if IsMultiDigraph(D) then
2354- ErrorNoReturn(" the argument <D> must be a symmetric digraph consider encoding in Disparse6," );
2363+ ErrorNoReturn(
2364+ " the argument <D> must be a symmetric digraph; " ,
2365+ " consider encoding in Disparse6"
2366+ );
23552367 else
2356- ErrorNoReturn(" the argument <D> must be a symmetric digraph consider encoding in Digraph6 or Disparse6," );
2368+ ErrorNoReturn(
2369+ " the argument <D> must be a symmetric digraph; " ,
2370+ " consider encoding in Digraph6 or Disparse6"
2371+ );
23572372 fi ;
23582373 fi ;
23592374
0 commit comments