The subtraction operation was not brought up to date with AttrVar refactor, so a minor tweak is needed.
It uses all_subparts, which gets all the other parts that a part is referencing; however, that method searched over homs and not arrows. When this change is made, the correct behavior is recovered.
The subtraction operation was not brought up to date with AttrVar refactor, so a minor tweak is needed.
It uses
all_subparts
, which gets all the other parts that a part is referencing; however, that method searched overhoms
and notarrows
. When this change is made, the correct behavior is recovered.The relevance of this is that complement is used in this PR https://github.com/AlgebraicJulia/AlgebraicRewriting.jl/pull/62