source: git/Tst/Short/bug_41.tst @ 1ebec3

spielwiese
Last change on this file since 1ebec3 was ef8adb, checked in by Hans Schönemann <hannes@…>, 18 years ago
*hannes: cancel attributes in assigns git-svn-id: file:///usr/local/Singular/svn/trunk@9119 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 459 bytes
Line 
1LIB "tst.lib";
2tst_init();
3// attrib for list elements
4
5ring r;
6ideal i=x;
7list l=i,i;
8homog(l[1]);
9attrib(l);
10attrib(l[1]);
11attrib(l[2]);
12
13attrib(l[2],"huhu",1);
14attrib(l);
15attrib(l[1]);
16attrib(l[2]);
17
18l[1][2]=y;
19attrib(l);
20attrib(l[1]);
21attrib(l[2]);
22
23l[2][2]=y;
24attrib(l);
25attrib(l[1]);
26attrib(l[2]);
27
28// attrib for ideals: should be cancelled when the ideal changes
29
30i=x,y;
31homog(i);
32attrib(i);
33homog(i);
34attrib(i);
35
36i[2]=x+1;
37attrib(i);
38
39tst_status(1);$
Note: See TracBrowser for help on using the repository browser.