Opened 3 years ago

#855 new bug

Error in mindist, inside decodegb.lib

Reported by: jifarran@… Owned by: somebody
Priority: minor Milestone: 4-2-0 and higher
Component: dontKnow Version: 4-1-2
Keywords: Cc:


I type this code:

LIB "decodegb.lib"; ring r = 1031,x,dp; matrix h[2][3]=1,0,1030,0,1,1030; mindist(h);

and I get this error message:

? wrong range[4,1] in matrix m(3 x 3) ? error occurred in or before decodegb.lib::star line 650: result[k,1]=m[i,k]*m[j,k]; ? leaving decodegb.lib::star skipping text from ; error at token ) ? leaving decodegb.lib::sysQE ? leaving decodegb.lib::mindist

The correct answer should be 3.

Change History (0)

Note: See TracTickets for help on using tickets.