Skip to content

Commit

Permalink
Merge pull request #65 from cdwensley/preimrep
Browse files Browse the repository at this point in the history
PreImagesRepresentative -> NC version
  • Loading branch information
cdwensley authored Oct 8, 2022
2 parents 98e2f06 + 4fbbbc1 commit ece127b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions init.g
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
##
#W init.g The XMODALG package Zekeriya Arvasi
#W & Alper Odabas
## version 1.19, 16/05/2021
##
#Y Copyright (C) 2014-2021, Zekeriya Arvasi & Alper Odabas,
#Y Copyright (C) 2014-2022, Zekeriya Arvasi & Alper Odabas,
##

if not IsBound( PreImagesRepresentativeNC ) then
BindGlobal( "PreImagesRepresentativeNC", PreImagesRepresentative );
fi;

## read the function declarations
ReadPackage( "xmodalg", "lib/algebra.gd" );
ReadPackage( "xmodalg", "lib/alg2obj.gd" );
Expand Down
4 changes: 2 additions & 2 deletions lib/algebra.gi
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
##
#W algebra.gi The XMODALG package Zekeriya Arvasi
#W & Alper Odabas
#Y Copyright (C) 2014-2021, Zekeriya Arvasi & Alper Odabas,
#Y Copyright (C) 2014-2022, Zekeriya Arvasi & Alper Odabas,
##

############################ algebra operations ###########################
Expand Down Expand Up @@ -668,7 +668,7 @@ function ( hom )
maps := ListWithIdenticalEntries( dimB, 0 );
for j in [1..dimB] do
b := vecB[j];
p := PreImagesRepresentative( hom, b );
p := PreImagesRepresentativeNC( hom, b );
im := List( vecA, a -> p*a );
maps[j] := LeftModuleHomomorphismByImages( A, A, vecA, im );
od;
Expand Down

0 comments on commit ece127b

Please sign in to comment.