File tree 1 file changed +4
-30
lines changed
1 file changed +4
-30
lines changed Original file line number Diff line number Diff line change @@ -880,35 +880,10 @@ InstallOtherMethod(
880
880
TryNextMethod ();
881
881
882
882
else
883
- # Tidy up <clist>
884
- clist := Recollected( clist );
885
-
886
- list := [] ;
887
-
888
- # Work entry-by-entry of <clist>
889
- for k in [ 1 .. Length( clist ) ] do
890
- entry := clist[ k] ;
891
-
892
- # Say each entry is
893
- # [ strip, mult ]
894
- # We calculate the collected syzygy of <strip> then multiply
895
- # all multiplicities by <mult>. That gives us the collected
896
- # syzygy of the entry.
897
- strip := entry[ 1 ] ;
898
- mult := entry[ 2 ] ;
899
- syz_clist := CollectedSyzygyOfStrip( strip );
900
-
901
- for j in [ 1 .. Length( syz_clist ) ] do
902
- syz_clist[ j][ 2 ] := syz_clist[ j][ 2 ] * mult;
903
- od ;
904
-
905
- # We record this in collected list <syz_clist>
906
- Append( list, syz_clist );
907
- od ;
908
-
909
- # Once the collected syzygies for each entry of <clist> have been
910
- # calculated, we tidy up the answer
911
- return Recollected( list );
883
+ return CollectedListElementwiseListValuedFunction(
884
+ clist,
885
+ SyzygyOfStrip
886
+ );
912
887
fi ;
913
888
end
914
889
);
@@ -2575,4 +2550,3 @@ InstallOtherMethod(
2575
2550
fi ;
2576
2551
end
2577
2552
);
2578
-
You can’t perform that action at this time.
0 commit comments