Changeset a74fa8 in git


Ignore:
Timestamp:
Apr 2, 2019, 4:57:59 PM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
Children:
2473c953979c291dd9b3163a11c034a8f2518cba
Parents:
379cd1cbfafe8e3ff774a0f4fce088140587e3a1
Message:
fix: ggetid
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipid.cc

    r379cd1 ra74fa8  
    542542#endif
    543543
     544#if 0
    544545idhdl ggetid(const char *n)
    545546{
     
    561562  return NULL;
    562563}
     564#endif
     565#if 1
     566idhdl ggetid(const char *n)
     567{
     568  idhdl h = IDROOT->get(n,myynest);
     569  if ((h!=NULL)&&(IDLEV(h)==myynest)) return h;
     570  if (currRing!=NULL)
     571  {
     572    idhdl h2 = currRing->idroot->get(n,myynest);
     573    if (h2!=NULL) return h2;
     574  }
     575  if (h!=NULL) return h;
     576  if (basePack!=currPack)
     577    return basePack->idroot->get(n,myynest);
     578  return NULL;
     579}
     580#endif
    563581
    564582void ipListFlag(idhdl h)
Note: See TracChangeset for help on using the changeset viewer.