You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The option to use [ -infinity, -infinity ] is also problematic, since a (multi-)degree is a an element of an IsHomalgModule over HomalgRingOfIntegers().
The clean solution is to introduce a new symbol -inf and overload the + operation to behave as expected with homalg's degrees and multi-degrees.
One can also consider the overloading of + for -infinity and homalg's (multi-)degrees.
If the multi degrees are custom objects, and in particular not lists, then I think it makes a lot of sense to overload addition of such a multidegree with -infinity. It should only require a 2-3 lines of code, too.
There appears to be no consistent behaviour when we ask for the degree of the zero element in a graded ring. Here are some examples:
or
Is this intentional?
Mathematically, I would expect either an error when calling
Degree
of the zero element, or an extra symbol as an output likefail.
The text was updated successfully, but these errors were encountered: