- Timestamp:
- Nov 7, 2005, 9:39:16 AM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 6f730e7769cb0ad5e75c8231b43ac0e68bfe40cf
- Parents:
- 7d45e39b6de4d8e3208f9bddd84b185d63f76940
- Location:
- modules/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/python/BUGS
r7d45e3 rb1b114 3 3 4 4 - pass only matrices with number type polynomial back to Singular 5 6 - a Ring change with r.set() doesn't work properly at the moment, so don't do it7 5 8 6 - LIB loading is equivalent to LIB("dgsjkgjs") and not LIB "djksdgsjkdjks" … … 12 10 13 11 - don't use polynomial(<string>) this is only in for testing purposes and does only work for monomials 12 13 Fixed bugs 14 - 7.11 a Ring change with r.set() doesn't work properly at the moment, so don't do it -
modules/python/ring_wrap.h
r7d45e3 rb1b114 1 //$Id: ring_wrap.h,v 1. 5 2005-09-21 07:12:48bricken Exp $1 //$Id: ring_wrap.h,v 1.6 2005-11-07 08:39:16 bricken Exp $ 2 2 #ifndef RING_WRAP_HEADER 3 3 #define RING_WRAP_HEADER 4 4 #include "ring.h" 5 #include "grammar.h" 6 #include "subexpr.h" 7 #include "ipid.h" 5 8 class Ring{ 6 9 public: … … 18 21 } 19 22 void set(){ 23 //FIXME: only a hack, no solution 24 char name_buffer[100]; 25 static int ending=0; 26 ending++; 27 sprintf(name_buffer, "PYTHON_RING_VAR%d",ending); 28 idhdl shadow_hdl=enterid(name_buffer,0,RING_CMD,&IDROOT); 29 pimpl->ref++; 30 shadow_hdl->data.uring=pimpl; 20 31 rChangeCurrRing(pimpl); 32 currRingHdl=shadow_hdl; 33 21 34 } 22 35 };
Note: See TracChangeset
for help on using the changeset viewer.