Skip to content

Commit

Permalink
The infix + operator for codes had the wrong filters
Browse files Browse the repository at this point in the history
  • Loading branch information
osj1961 committed Jan 2, 2025
1 parent 6d28d24 commit 808e1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/codeops.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ function(C, w)
return CosetCode(C, w);
end);

InstallOtherMethod(\+, "method for two codes", IsIdenticalObj, [IsLinearCode, IsLinearCode], 25,
InstallOtherMethod(\+, "method for two codes", IsIdenticalObj, [IsCode, IsCode], 25,
function(C1, C2)
return DirectSumCode(C1, C2);
end);
Expand Down

0 comments on commit 808e1da

Please sign in to comment.