Gonzalo Tornaria on Mon, 27 Feb 2006 18:46:59 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

qflllgram


Strange behaviour:

? qflllgram([1,0;0,-1],0)
  *** qflllgram: the PARI stack overflows !
  current stack size: 128000000 (122.070 Mbytes)
  [hint] you can increase GP stack with allocatemem()

? allocatemem()
  *** allocatemem: Warning: doubling stack size; new stack = 256000000
(244.141 Mbytes).
? qflllgram([1,0;0,-1],0)
  *** qflllgram: length (lg) overflow
? \v
              GP/PARI CALCULATOR Version 2.2.12 (development CHANGES-1.1453)
                i686 running linux (ix86/GMP-4.1.4 kernel) 32-bit version
                   compiled: Jan 21 2006, gcc-3.3.5 (Debian 1:3.3.5-13)
                     (readline v5.0 enabled, extended help available)

It /does/ work with flag=1 (lllgramint):

? qflllgram([1,0;0,-1],1)
  *** qflllgram: not a definite matrix in lllgram

Best, Gonzalo