Hi,

I am trying to truncate a multi-variable polynomial by moding out higher 
order term and found
the following (simplified) example. I am wondering if it is a bug.


*Reproducible Example: *

> R.<x,y> = PolynomialRing(QQ, order='negdeglex')
>
f = 1 + x
> I = R.ideal(x^2)
> f.mod(I)
>
*Expected output:*

> 1 + x
>
*Actual output:*

> 1
>


*Note: *
The actual output will be 1+x when I omit the "order='negdeglex" parameter.

*SageMath version:*
SageMath version 9.0, Release Date: 2020-01-01

*Operating system:*
OS: Ubuntu 19.10 x86_64 
Kernel: 5.3.0-45-generic 

Best regards,
Yang

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/62d49122-e572-438f-854a-949535f29b55%40googlegroups.com.

Reply via email to