Incorrect PreImages result for elements not in image.
Steps to Reproduce
G := Group((1,2));;
f := GroupHomomorphismByImages(G, G, [(1,2)], [()]);;
# The map f sends (1,2) -> () and () -> ().
# The set [(1,2)] contains no elements from the image of f.
PreImages(f, [(1,2)]);
Expected behavior
The output should be an empty list [ ].
Actual behavior
GAP returns the whole group: [ (), (1,2) ]
Incorrect PreImages result for elements not in image.
Steps to Reproduce
Expected behavior
The output should be an empty list
[ ].Actual behavior
GAP returns the whole group:
[ (), (1,2) ]