[GAP Forum] Strange behaviour with Union - possible bug?
Matt Fayers
m.fayers at qmul.ac.uk
Fri Dec 5 20:58:48 GMT 2014
Dear GAP forum,
I am experiencing some strange behaviour with GAP's Union function: the
command
Union([2],[3],[5,1..1]);
returns
[2,3]
rather than the expected [1,2,3,5]. (If I do
Union([2],[3],[5,1])
or
Union([2],[5,1..1])
the behaviour is as expected.)
Any ideas? I'm running GAP 4.7.5 on Linux (because that's the version
that comes with my Linux distribution); I apologise if this has already
been resolved in a more recent version.
Best wishes,
Matt Fayers.
____________________________________________________________________
Matthew Fayers
School of Mathematical Sciences
Queen Mary University of London
Mile End Road
London
E1 4NS
020 7882 5479
www.maths.qmul.ac.uk.~mf/
____________________________________________________________________
More information about the Forum
mailing list