Opened 13 years ago

Closed 13 years ago

#158 closed bug (fixed)

Warning: "atKill: unknown type(267)" after getting an attribute of proc argument

Reported by: Oleksandr Owned by: hannes
Priority: major Milestone: 3-1-1
Component: singular-kernel Version: 3-1-0
Keywords: attrib, kill Cc:

Description

ring r = 0,(x, y), dp;
intmat A[2][2] = 1, 0, 0, 1;
attrib(basering, "mgrad", A);

proc getGrad2(){ attrib(basering, "mgrad"); }
getGrad2(); // produces nothing!



proc getGrad(def A){ attrib(A, "mgrad"); }

getGrad(basering); // Produces: "atKill: unknown type(267)"
/*
::getGrad   0. parameter def A;
::getGrad   1>  attrib(A, "mgrad");
1,0,
0,1
::getGrad   2>
atKill: unknown type(267)
*/

$$$

Attachments (1)

mgrad.tst (408 bytes) - added by Oleksandr 13 years ago.
same test

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by Oleksandr

Attachment: mgrad.tst added

same test

comment:1 Changed 13 years ago by hannes

Resolution: fixed
Status: newclosed

changes in Singular/attrib.cc

Note: See TracTickets for help on using tickets.