spielwiese
Last change
on this file since 2c5e69 was
2c5e69,
checked in by Hans Schoenemann <hannes@…>, 3 years ago
|
fix: assign rings for ring-dep stuff in newstruct
|
-
Property mode set to
100644
|
File size:
285 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | proc testproc() |
---|
5 | { |
---|
6 | ring S = 32003,x,dp; |
---|
7 | ideal I = 2x; |
---|
8 | teststruct output; |
---|
9 | output.I = I; |
---|
10 | return(output); |
---|
11 | } |
---|
12 | newstruct("teststruct", "ideal I"); |
---|
13 | ring R = 0,a,dp; |
---|
14 | def erg = testproc(); |
---|
15 | erg.I; |
---|
16 | erg.I; |
---|
17 | def rr=erg.r_I; |
---|
18 | setring rr; |
---|
19 | erg.I; |
---|
20 | |
---|
21 | |
---|
22 | tst_status(1);$ |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.