Macaulay2 / M2

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

broken init-DiffAlg.m2 #1023

Closed dimpase closed 3 years ago

dimpase commented 4 years ago

init-DiffAlg.m2 creates and uses global variable i, where it's not intended to be global. This has been discovered on an "incomplete" build, where documentation was not ready yet. As a result, we got

... 
i1: help
...
Macaulay2/packages/Macaulay2Doc.m2:26:1:(2):[15]: error: global symbols inadvertently defined by package Macaulay2Doc: 'i'
/home/dima/.Macaulay2/init-DiffAlg.m2:18:24-18:25: here is the first use of 'i'
stdio:1:1:(3): error: after eval: --backtrace update-- 
DanGrayson commented 4 years ago

Yes, something should be done about that.

DanGrayson commented 4 years ago

@DiffAlg

DiffAlg commented 4 years ago

Ok, we are on it...

mahrud commented 3 years ago

Fixed in 691ba7ed3c