Opened 11 years ago

Closed 11 years ago

#386 closed bug (fixed)

randomLast() from random.lib crashes

Reported by: steenpass Owned by: somebody
Priority: minor Milestone: 3-1-4 and higher
Component: dontKnow Version: 3-1-3
Keywords: randomLast, random.lib Cc:

Description

> option(noloadLib);
> LIB "random.lib";
> ring r = 0, x, dp;
> randomLast(100);
   ? random(`int`,`int`,`int`) failed
   ? error occurred in or before random.lib::randomid line 71: `   i = matrix(id)*random(b,ncols(id),k);`
   ? wrong type declaration. type 'help matrix;'
   ? leaving random.lib::randomid
   skipping text from `;` error at token `)`
   ? leaving random.lib::randomLast
> 

I would expect simply ideal(x).

Change History (1)

comment:1 Changed 11 years ago by hannes

Resolution: fixed
Status: newclosed

fixed with [0014bf5042c6ba1ffb6123fe48e10ba694162223] special handling for rings with one variable

Note: See TracTickets for help on using tickets.