Skip to content

Commit

Permalink
Merge pull request #1416 from mohamed-barakat/pre_post_mor
Browse files Browse the repository at this point in the history
renamed and unified names of local variables
  • Loading branch information
zickgraf authored Aug 14, 2023
2 parents 83500f6 + 2201883 commit f580a68
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions CAP/gap/DerivedMethods.gi
Original file line number Diff line number Diff line change
Expand Up @@ -1776,9 +1776,9 @@ AddDerivationToCAP( PostCompose,
"PostCompose using PreCompose and swapping arguments",
[ [ PreCompose, 1 ] ],

function( cat, right_mor, left_mor )
function( cat, post_mor, pre_mor )

return PreCompose( cat, left_mor, right_mor );
return PreCompose( cat, pre_mor, post_mor );

end );

Expand All @@ -1787,9 +1787,9 @@ AddDerivationToCAP( PreCompose,
"PreCompose using PostCompose and swapping arguments",
[ [ PostCompose, 1 ] ],

function( cat, left_mor, right_mor )
function( cat, pre_mor, post_mor )

return PostCompose( cat, right_mor, left_mor );
return PostCompose( cat, post_mor, pre_mor );

end );

Expand All @@ -1798,9 +1798,9 @@ AddDerivationToCAP( PreCompose,
"PreCompose by wrapping the arguments in a list",
[ [ PreComposeList, 1 ] ],

function( cat, left_mor, right_mor )
function( cat, pre_mor, post_mor )

return PreComposeList( cat, [ left_mor, right_mor ] );
return PreComposeList( cat, [ pre_mor, post_mor ] );

end );

Expand All @@ -1820,9 +1820,9 @@ AddDerivationToCAP( PostCompose,
"PostCompose by wrapping the arguments in a list",
[ [ PostComposeList, 1 ] ],

function( cat, mor_right, mor_left )
function( cat, post_mor, pre_mor )

return PostComposeList( cat, [ mor_right, mor_left ] );
return PostComposeList( cat, [ post_mor, pre_mor ] );

end );

Expand Down

0 comments on commit f580a68

Please sign in to comment.