Open jakobkroeker opened 10 years ago
I'm a bit surprised: the problem here is that decompose is returning an empty list. We had this problem some time ago, the issue is (at first look) the fractions. If you instead decompose 2*I, it gives a nonempty list. I thought this was fixed, and also that there are tests for it. I obviously must be mistaken!
The empty list is correctly returned, but incorrectly handled, and the error message could be better:
i6 : monomialIdeal {} stdio:6:1:(3): error: expected a polynomial ring without quotient elements
The error message should say "monomialIdeal: expected a nonempty list".
What do you mean that the empty list is correctly returned? That should not be correct?
I seem to recall it was decomposing the unit ideal, so it is correct.
seems fixed now. Add a test (or is there one?