Hi,

After many calls to GP from Sage I get an "out of allowed range"
error.  I tried cleaning this up by using the
gp.clear_prompts() method, but it doesn't help.  Is there any way to
avoid this error without restarting GP (or restart GP automatically
when this error occurs)?

Thanks,

-Jon
 =)

sage: Q = QuadraticForm(ZZ, 4,  [281, 636, 468, 352,  363, 528, 396,
197, 288,  115])
sage: Q.basis_of_short_vectors()
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call
last)
.....
.....
TypeError: Error executing code in GP:
CODE:
 
sage[65539]=Mat([562,636,468,352;636,726,528,396;468,528,394,288;352,396,288,230]);
PARI/GP ERROR:
  ***   at top-level: read("/Users/jonhank
  ***                 ^--------------------
  ***   in function read: sage[65539]=Mat([562,636
  ***                         ^--------------------
  ***   array index (65539) out of allowed range [1-65537].

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to