Macaulay2 / M2

The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
https://macaulay2.com
347 stars 231 forks source link

small NormalToricVarieties fix to retain CoefficientRing and Variable #3442

Closed Devlin-Mallory closed 2 months ago

Devlin-Mallory commented 2 months ago

Several methods in NormalToricVarieties (notably toricBlowup and thus makeSmooth and makeSimplicial) were discarding the CoefficientRing and Variable of the input toric variety. This fixes that by retaining these options from the input toric variety.

mahrud commented 2 months ago

Thanks for the fixes, and the review :)