Skip to content

Commit 2c5aa59

Browse files
committed
linting edits
1 parent b4feb62 commit 2c5aa59

2 files changed

Lines changed: 11 additions & 21 deletions

File tree

gap/io.gi

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2223,20 +2223,14 @@ InstallMethod(Graph6String, "for a digraph by out-neighbours",
22232223
function(D)
22242224
local list, adj, n, lenlist, tablen, blist, i, j, pos, block;
22252225
if IsMultiDigraph(D) then
2226-
ErrorNoReturn(
2227-
"the argument <D> must not have multiple edges; ",
2228-
"consider encoding in Disparse6 or Digraph6"
2229-
);
2226+
ErrorNoReturn("the argument <D> must not have multiple edges; ",
2227+
"consider encoding in Disparse6 or Digraph6");
22302228
elif not IsSymmetricDigraph(D) then
2231-
ErrorNoReturn(
2232-
"the argument <D> must be a symmetric digraph; ",
2233-
"consider encoding in Sparse6 or Disparse6"
2234-
);
2229+
ErrorNoReturn("the argument <D> must be a symmetric digraph; ",
2230+
"consider encoding in Sparse6 or Disparse6");
22352231
elif DigraphHasLoops(D) then
2236-
ErrorNoReturn(
2237-
"the argument <D> must not have loops; ",
2238-
"consider encoding in Sparse6 or Disparse6"
2239-
);
2232+
ErrorNoReturn("the argument <D> must not have loops; ",
2233+
"consider encoding in Sparse6 or Disparse6");
22402234
fi;
22412235

22422236
list := [];
@@ -2360,15 +2354,11 @@ function(D)
23602354

23612355
if not IsSymmetricDigraph(D) then
23622356
if IsMultiDigraph(D) then
2363-
ErrorNoReturn(
2364-
"the argument <D> must be a symmetric digraph; ",
2365-
"consider encoding in Disparse6"
2366-
);
2357+
ErrorNoReturn("the argument <D> must be a symmetric digraph; ",
2358+
"consider encoding in Disparse6");
23672359
else
2368-
ErrorNoReturn(
2369-
"the argument <D> must be a symmetric digraph; ",
2370-
"consider encoding in Digraph6 or Disparse6"
2371-
);
2360+
ErrorNoReturn("the argument <D> must be a symmetric digraph; ",
2361+
"consider encoding in Digraph6 or Disparse6");
23722362
fi;
23732363
fi;
23742364

tst/standard/io.tst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ gap> Sparse6String(last);
561561
":TdBkJ`Kq?"
562562

563563
# Multiple Edges Digraph6
564-
gap> gr := Digraph([[1,1], [2]]);;
564+
gap> gr := Digraph([[1, 1], [2]]);;
565565
gap> Digraph6String(gr);
566566
Error, the argument <D> must not have multiple edges consider encoding in Spar\
567567
se6 or Disparse6,

0 commit comments

Comments
 (0)