[GAP Forum] gap little bug in version 4.5.2
Max Horn
max at quendi.de
Sun Dec 18 14:31:35 GMT 2011
Dear Ilko Brauch,
thank you for your very helpful bug report. Indeed, there was a regression in our code, which I just fixed in the development version of GAP. So the problem should be resolved in the next GAP release.
Cheers,
Max
Am 16.12.2011 um 00:44 schrieb Ilko Brauch:
[...]
>
> # editing the following two lines of code:
>
> G := CyclicGroup(IsFpGroup,3);
> Elements(G);
>
> # lead to the following error message:
>
> Error, List Element: <list>[2] must have an assigned value in
> if e[2] >= 0 and e[2] < n then
> return u;
> elif e[2] mod n = 0 then
> return One( f );
> else
> e := [ e[1], e[2] mod n ];
> return ObjByExtRep( fam, e );
> fi; called from
> f( UnderlyingElement( x ) ) called from
> com( left ) called from
> FpElmComparisonMethod( FamilyObj( left ) )( left, right ) called from
> IS_SSORT_LIST_DEFAULT( list ) called from
> IsSSortedList( l ) called from
> ... at line 2 of *stdin*
> you can 'return;' after assigning a value
>
>
> # The code works without problems with the following older version:
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> GAP, Version 4.5.1 of 15-Apr-2011
> Architecture: i686-pc-linux-gnu-gcc-default32
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
> Finally I hope that I sent this message to the right place and that it will not waste to much of your time.
>
>
> Kind regards
>
> Ilko
>
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum
>
More information about the Forum
mailing list