Skip to content
Mahrud Sayrafi edited this page Mar 12, 2021 · 1 revision

title: Bugs permalink: wiki/Bugs/ layout: wiki

  1. The output of "describe" on polynomial rings is not documented, e.g. it is not clear what does "Degrees {2:1}" mean.
  2. There is a problem with memory management. In particular, running the qthPower command from the QthPower.m2 file uses more and more memory, even when running on the same input data. [NB: The use of MutableLists has been removed, so it is not that.]
  3. There is a problem with large exponents, the following was obtained on a 64-bit Ubuntu 9.10 installation:

 i15 : R = QQ[x];
 i16 : describe R
 o16 = QQ[x, Degrees => {1}, Heft => {1}, MonomialOrder => {MonomialSize => 32}, DegreeRank => 1]
                                                           {GRevLex => {1}    }
                                                           {Position => Up    }
 i17 : x^(2^32)
 o17 = 1
 o17 : R
 i18 : x^(2^64)
 stdio:17:2:(3):[0]: error: exponent too large

  1. When at a debug level input prompt (such as "ii1 : ", etc) and one asks for "help RingElement", an error occurs. Other types are not similarly afflicted.
  2. gens is a bit mysterious and hard to get for the purposes of -completion. Wouldn't it be natural to have it listed always whenever generators are visible?

i126 : gens
o126 = generators
o126 : MethodFunctionWithOptions
i127 : methods gens
o127 = {(generators, EngineRing)          }
       {(generators, FractionField)       }
       {(generators, GaloisField)         }
       {(generators, GeneralOrderedMonoid)}
       {(generators, GroebnerBasis)       }
       {(generators, Ideal)               }
       {(generators, InexactField)        }
       {(generators, Module)              }
       {(generators, MonomialIdeal)       }
       {(generators, PolynomialRing)      }
       {(generators, QuotientRing)        }
       {(generators, Ring)                }
i128 : apropos "gens"
o128 = {generators, gens2, mingens, numgens}

Clone this wiki locally