Changeset 3901ebf in git


Ignore:
Timestamp:
Feb 1, 2008, 2:47:10 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
bac8611899a1be9cec75c5869634cba746703b16
Parents:
935bb1bf1fc7cf6828861ed659dcc18157c72dd3
Message:
*hannes: require rAssure_HasComp for rings in interpreter


git-svn-id: file:///usr/local/Singular/svn/trunk@10549 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    r935bb1b r3901ebf  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipshell.cc,v 1.175 2008-01-30 16:10:37 wienand Exp $ */
     4/* $Id: ipshell.cc,v 1.176 2008-02-01 13:47:10 Singular Exp $ */
    55/*
    66* ABSTRACT:
     
    41364136  }
    41374137
     4138  // test for valid "currRing":
     4139  if ((rg!=NULL) && (rg->idroot==NULL))
     4140  {
     4141    ring old=rg;
     4142    rg=rAssure_HasComp(rg);
     4143    if (old!=rg)
     4144    {
     4145      rKill(old);
     4146      IDRING(h)=rg;
     4147    }
     4148  }
    41384149   /*------------ change the global ring -----------------------*/
    41394150  rChangeCurrRing(rg);
Note: See TracChangeset for help on using the changeset viewer.