Skip to content

Commit

Permalink
Remove some code that cannot be reached.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevelinton committed Jan 13, 2016
1 parent 5d87c65 commit ceba02a
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions lib/coll.gi
Original file line number Diff line number Diff line change
Expand Up @@ -2932,18 +2932,13 @@ InstallGlobalFunction(Union, function(arg)
r := ranges[i];
if r[2] -r[1] > stride then
#
# passed all the stuff with matching stride, leave to the more complex
# passed all the stuff with matching stride, leave the rest to the more complex
# code
#
rstart := i;
break;
fi;
if stride > 1 and (r[1] - min) mod stride <> 0 then
#
# Out of phase
#
continue;
fi;
# if we were out of phase we'd have failed the inclusion check above
if r[1] > minNeeded then
#
# leaves a hole
Expand All @@ -2969,9 +2964,6 @@ InstallGlobalFunction(Union, function(arg)
return goal;
fi;





# Finally then, we are in a case where we really need to be clever, so
# We keep track of the points in goal we haven't seen yet as we run through the ranges
Expand Down

0 comments on commit ceba02a

Please sign in to comment.