Skip to content

Commit

Permalink
Fix Intersection([])
Browse files Browse the repository at this point in the history
  • Loading branch information
markuspf committed Jul 7, 2016
1 parent 6e8b016 commit b9dc3a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/coll.gi
Original file line number Diff line number Diff line change
Expand Up @@ -2473,6 +2473,9 @@ InstallGlobalFunction( Intersection, function ( arg )
# unravel the argument list if necessary
if Length(arg) = 1 then
arg := arg[1];
if IsEmpty(arg) then
return [];
fi;
fi;

# start with the first domain or list
Expand Down

0 comments on commit b9dc3a0

Please sign in to comment.