> < ^ Date: Tue, 12 Oct 1999 21:51:00 -0400
> < ^ From: Drew Krause <drkrause@mindspring.com >
> ^ Subject: guava question

Hello, I'm running into what looks like memory problems with the
'ConstantWeightSubcode' function in Guava (I'm running gap 3.4.4 in
DOS). Or maybe I've missed something.

Here's an example:

gap> lc5 := LexiCode(5,3,GF(2));
a linear [5,2,3]2 lexicode over GF(2)
gap> Elements(lc5);
[ [ 0 0 0 0 0 ], [ 0 0 1 1 1 ], [ 1 1 0 0 1 ], [ 1 1 1 1 0 ] ]
gap> cwsc := ConstantWeightSubcode(lc5,3);
Error, operations: product of finite field element and boolean is not
defined \
at
Append( Els, i * GUAVA_TEMP_VAR ) ... in
arg[1].operations.ConstantWeightSubcode( arg[1], arg[2] ) called from
ConstantWeightSubcode( lc5, 3 ) called from
main loop

Any help appreciated -- offlist replies ok.

Drew Krause


> < [top]