File: codegen.diff

package info (click to toggle)
gap-guava 3.12%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,772 kB
  • ctags: 1,789
  • sloc: ansic: 20,861; xml: 10,229; makefile: 265; sh: 153
file content (23 lines) | stat: -rw-r--r-- 634 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
125,128c125,128
<     SetGeneratorsOfLeftModule( V, AsList( One(F)*gens ) );
<     SetIsLinearCode(V, true); 
<     SetWordLength(V, Length(gens[1]));  
<     return V;
---
>     SetGeneratorsOfLeftModule( V, AsList( gens ) );
> 	SetIsLinearCode(V, true); 
> 	SetWordLength(V, WordLength(gens[1]));  
> 	return V;
467c467
< 	G := G*One(F);
---
> 	G:=G*One(F);
1432,1433c1432
< 	#C := LinearCodeByGenerators(F, Codeword(GM, F)); 
< 	C := LinearCodeByGenerators(F, One(F)*GM); 
---
> 	C := LinearCodeByGenerators(F, Codeword(GM, F)); 
1450c1449
<     #G := PolyCodeword( Codeword(G, F) );
---
>     G := PolyCodeword( Codeword(G, F) );