Opened 4 years ago

Last modified 4 years ago

## #19130 new defect

# inconsistencies of .subs() for multivariate polynomials

Reported by: | vdelecroix | Owned by: | |
---|---|---|---|

Priority: | major | Milestone: | sage-6.9 |

Component: | algebra | Keywords: | |

Cc: | tmonteil, bruno | Merged in: | |

Authors: | Reviewers: | ||

Report Upstream: | N/A | Work issues: | |

Branch: | Commit: | ||

Dependencies: | Stopgaps: |

### Description

sage: R.<x,y,z> = ZZ[] sage: x.subs({x:1}).parent() Multivariate Polynomial Ring in x, y, z over Integer Ring sage: x.subs({x:1, y:1, z:1}).parent() Multivariate Polynomial Ring in x, y, z over Integer Ring

compared to the univariate case

sage: R.<t> = ZZ[] sage: t.subs({t:1}).parent() Integer Ring

Note also that we have

sage: x.subs({x:RDF(1)}).parent() Real Double Field

**Note:**See TracTickets for help on using tickets.