Changeset bd4cb92 in git for Singular/ring.cc


Ignore:
Timestamp:
Sep 25, 2001, 6:07:36 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
f9e5f6018b5774f65b2ad5e048943ebb12b381dd
Parents:
765fa32efdbc7e0082d76f9bc8e5976cb3235115
Message:
* hannes: HAVE_NS port, optimizations (MAkefile order) etc.


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

Legend:

Unmodified
Added
Removed
  • Singular/ring.cc

    r765fa3 rbd4cb92  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ring.cc,v 1.169 2001-08-27 14:47:37 Singular Exp $ */
     4/* $Id: ring.cc,v 1.170 2001-09-25 16:07:32 Singular Exp $ */
    55
    66/*
     
    903903      }
    904904    }
    905 #else /* USE_IILOCALRING */
    906     {
    907       namehdl nshdl = namespaceroot;
    908 
    909       for(nshdl=namespaceroot; nshdl->isroot != TRUE; nshdl = nshdl->next) {
    910         //Print("NSstack: %s:%d, nesting=%d\n", nshdl->name, nshdl->lev, nshdl->myynest);
     905// #else /* USE_IILOCALRING */
     906#endif /* USE_IILOCALRING */
     907    {
     908      proclevel * nshdl = procstack;
     909      int lev=myynest-1;
     910
     911      for(; nshdl != NULL; nshdl = nshdl->next)
     912      {
    911913        if (nshdl->currRing==r)
    912914        {
    913           if (nshdl->myynest<myynest)
    914 //            Warn("killing the basering for level %d/%d",nshdl->lev,nshdl->myynest);
    915           Warn("killing the basering for level %d",nshdl->myynest);
     915          Warn("killing the basering for level %d",lev);
    916916          nshdl->currRing=NULL;
    917         }
    918       }
    919       if (nshdl->currRing==r)
    920       {
    921         //Print("NSstack: %s:%d, nesting=%d\n", nshdl->name, nshdl->lev, nshdl->myynest);
    922         if (nshdl->myynest<myynest)
    923 //          Warn("killing the basering for level %d/%d",nshdl->lev,nshdl->myynest);
    924           Warn("killing the basering for level %d",nshdl->myynest);
    925         nshdl->currRing=NULL;
    926       }
    927     }
    928 #endif /* USE_IILOCALRING */
     917          nshdl->currRingHdl=NULL;
     918        }
     919      }
     920    }
     921//#endif /* USE_IILOCALRING */
    929922
    930923    rDelete(r);
Note: See TracChangeset for help on using the changeset viewer.