Changeset 1f742e in git


Ignore:
Timestamp:
May 27, 2024, 4:32:37 PM (2 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
07d02f8634eb554d10ceb042e4a33a4d10797e95
Parents:
c7af8613769b29c741d6c338945669719f1fc4f8
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2024-05-27 16:32:37+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2024-05-27 17:06:58+02:00
Message:
fix: ring handling in library call from c
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iplib.cc

    rc7af861 r1f742e  
    617617  &&(currRing!=save_ring))
    618618  {
    619     rDecRefCnt(currRing);
    620619    idhdl hh=IDROOT;
    621620    idhdl prev=NULL;
    622621    while((hh!=currRingHdl) && (hh!=NULL)) { prev=hh; hh=hh->next; }
    623     if (hh!=NULL)
    624     {
     622    if ((hh!=NULL)&&(strcmp(IDID(hh)," tmpRing")==0))
     623    {
     624      rDecRefCnt(currRing);
    625625      if (prev==NULL) IDROOT=hh->next;
    626626      else prev->next=hh->next;
Note: See TracChangeset for help on using the changeset viewer.