Changeset b1b114 in git for modules


Ignore:
Timestamp:
Nov 7, 2005, 9:39:16 AM (18 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
6f730e7769cb0ad5e75c8231b43ac0e68bfe40cf
Parents:
7d45e39b6de4d8e3208f9bddd84b185d63f76940
Message:
*bricken: ring change bug fixed


git-svn-id: file:///usr/local/Singular/svn/trunk@8784 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
modules/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • modules/python/BUGS

    r7d45e3 rb1b114  
    33
    44- 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 it
    75
    86- LIB loading is equivalent to LIB("dgsjkgjs") and not LIB "djksdgsjkdjks"
     
    1210
    1311- don't use polynomial(<string>) this is only in for testing purposes and does only work for monomials
     12
     13Fixed 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:48 bricken Exp $
     1//$Id: ring_wrap.h,v 1.6 2005-11-07 08:39:16 bricken Exp $
    22#ifndef RING_WRAP_HEADER
    33#define RING_WRAP_HEADER
    44#include "ring.h"
     5#include "grammar.h"
     6#include "subexpr.h"
     7#include "ipid.h"
    58class Ring{
    69  public:
     
    1821    }
    1922    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;
    2031      rChangeCurrRing(pimpl);
     32      currRingHdl=shadow_hdl;
     33     
    2134    }
    2235};
Note: See TracChangeset for help on using the changeset viewer.