spielwiese
Last change
on this file since 051432 was
1cdea14,
checked in by Hans Schönemann <hannes@…>, 15 years ago
|
*hannes: tr158
git-svn-id: file:///usr/local/Singular/svn/trunk@12069 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
479 bytes
|
Rev | Line | |
---|
[1cdea14] | 1 | LIB "tst.lib"; |
---|
| 2 | tst_init(); |
---|
| 3 | |
---|
| 4 | // only debug version produces this error: |
---|
| 5 | ring r = 0,(x, y), dp; |
---|
| 6 | intmat A[2][2] = 1, 0, 0, 1; |
---|
| 7 | attrib(basering, "mgrad", A); |
---|
| 8 | |
---|
| 9 | proc getGrad2(){ attrib(basering, "mgrad"); } |
---|
| 10 | getGrad2(); // produces nothing! |
---|
| 11 | |
---|
| 12 | proc getGrad(def A){ attrib(A, "mgrad"); } |
---|
| 13 | |
---|
| 14 | getGrad(basering); // Produces: "atKill: unknown type(267)" |
---|
| 15 | /* |
---|
| 16 | ::getGrad 0. parameter def A; |
---|
| 17 | ::getGrad 1> attrib(A, "mgrad"); |
---|
| 18 | 1,0, |
---|
| 19 | 0,1 |
---|
| 20 | ::getGrad 2> |
---|
| 21 | atKill: unknown type(267) |
---|
| 22 | */ |
---|
| 23 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.