Hi Kwankyu,

On Sep 4, 8:52 am, Kwankyu <[email protected]> wrote:
> Hi Simon,
>
> The Sage documentation says an unknown term ordering is just passed to
> the Singular. So in this case, 'M(a)' should be passed to the
> Singular.

Ah, it seems indeed to be a bug!!!

Namely, in line 396 of sage/rings/polynomial/term_order it says
  name = name.lower()
which means that 'M(a)' (valid Singular syntax) is transformed into 'm
(a)' (invalid Singular syntax), and therefore you see the error
message
   verbose 0 (342: term_order.py, __init__) Term ordering 'm(a)'
unknown.
although you entered the term ordering "M(a)"!

I don't know whether it would suffice to define an integer matrix "a"
in the Singular interface, though. Let me do some tests.

Best regards,
Simon

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to