Skip to content

Commit

Permalink
gaplint again
Browse files Browse the repository at this point in the history
  • Loading branch information
pramothragavan committed May 26, 2024
1 parent 7ac0bac commit cd748dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gap/io.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@ end);
BindGlobal("DIGRAPHS_ParseDreadnautConfig",
function(config, key)
local L, Pos, tempStr, tempConfig;

RemoveCharacters(config, " \n\r\t=-+");

tempConfig := ShallowCopy(config);
Expand Down Expand Up @@ -1507,11 +1507,11 @@ function(inputString)
if currentChar = ':' then
repeat # backtrack to find the start of the vertex
currentPos := currentPos - 1;
if inputString[currentPos] <> ' ' and
if inputString[currentPos] <> ' ' and
not IsDigitChar(inputString[currentPos]) then
ErrorNoReturn("Syntax error: unexpected character (",
inputString[currentPos],
") before \":\"");
") before \":\"");
fi;
until currentPos <= 1 or IsDigitChar(inputString[currentPos]);
repeat
Expand Down Expand Up @@ -1585,7 +1585,7 @@ function(graphData, r)
od;
od;

if -1 in partition then
if - 1 in partition then
ErrorNoReturn("Partition is incomplete. The following vertices ",
PositionsProperty(partition, x -> x = -1),
" do not feature in any part.");
Expand Down

0 comments on commit cd748dd

Please sign in to comment.