Skip to content

Conversation

@fingolfin
Copy link
Member

This was declared as an attribute, but should be a property.
Due to a bug in GAP, we nevertheless accept expressions like

IsExternalOrbit and CanEasilyDetermineCanonicalRepresentativeExternalSet

e.g. when installing methods. But that does not do what one might expect in
method selection; rather, it is equivalent to

IsExternalOrbit and HasCanEasilyDetermineCanonicalRepresentativeExternalSet

as can be verified with this code (only before this commit)

gap> f1 := IsExternalOrbit and CanEasilyDetermineCanonicalRepresentativeExternalSet;;
gap> f2 := IsExternalOrbit and HasCanEasilyDetermineCanonicalRepresentativeExternalSet;;
gap> FLAGS_FILTER(f1) = FLAGS_FILTER(f2);
true

This is part of PR #2732, but should not be delayed by the rest of that PR.

This was declared as an attribute, but should be a property.
Due to a bug in GAP, we nevertheless accept expressions like

    IsExternalOrbit and CanEasilyDetermineCanonicalRepresentativeExternalSet

e.g. when installing methods. But that does *not* do what one might expect in
method selection; rather, it is equivalent to

    IsExternalOrbit and HasCanEasilyDetermineCanonicalRepresentativeExternalSet

as can be verified with this code (only *before* this commit)

    gap> f1 := IsExternalOrbit and CanEasilyDetermineCanonicalRepresentativeExternalSet;;
    gap> f2 := IsExternalOrbit and HasCanEasilyDetermineCanonicalRepresentativeExternalSet;;
    gap> FLAGS_FILTER(f1) = FLAGS_FILTER(f2);
    true
@fingolfin fingolfin added kind: bug Issues describing general bugs, and PRs fixing them topic: library labels Aug 25, 2018
@codecov
Copy link

codecov bot commented Aug 25, 2018

Codecov Report

Merging #2742 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2742      +/-   ##
==========================================
+ Coverage   75.78%   75.78%   +<.01%     
==========================================
  Files         478      478              
  Lines      241438   241438              
==========================================
+ Hits       182973   182978       +5     
+ Misses      58465    58460       -5
Impacted Files Coverage Δ
lib/oprt.gd 93.23% <ø> (ø) ⬆️
src/hpc/threadapi.c 43.48% <0%> (-0.11%) ⬇️
hpcgap/lib/hpc/stdtasks.g 64.96% <0%> (+1.53%) ⬆️

@olexandr-konovalov olexandr-konovalov self-requested a review August 26, 2018 12:25
@fingolfin fingolfin merged commit f701a6f into gap-system:master Aug 26, 2018
@fingolfin fingolfin deleted the mh/fix-CanEasilyDetermineCanonicalRepresentativeExternalSet branch August 27, 2018 15:15
@fingolfin fingolfin added the release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes label Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: bug Issues describing general bugs, and PRs fixing them release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants