Changeset f6b8d2e in git for Singular


Ignore:
Timestamp:
Aug 18, 2016, 5:05:18 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0e5cd369e35cc3230104546ffdff7ed15be6654c
Parents:
780c1bafdf8b748d2ed4de0d4fd797d06d060904
Message:
fix: handling of qring in newstruct
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/graal.lib

    r780c1b rf6b8d2e  
    4747   * ideal H     ideal such that A=Q/H
    4848   * ideal J     preimage of L
    49    * qring Q0y   Q^0[Y1,...,Ys]
     49   * ring Q0y    Q^0[Y1,...,Ys]
    5050   * ideal scriptI <Y1-f1,...,Ys-fs>, where f1,...,fs are the generators of L
    51    * qring Al    the ring A_L = Q0y/scriptI
    52    * qring Ky    K[Y1,...,Ys], where K quotient field of A/L
     51   * ring Al     the ring A_L = Q0y/scriptI
     52   * ring Ky     K[Y1,...,Ys], where K quotient field of A/L
    5353   * ideal scriptIin I_in
    54    * qring Graal associated graded ring, isomorphic to Ky/scriptIin
     54   * ring Graal associated graded ring, isomorphic to Ky/scriptIin
    5555   * map ina     Al -> Graal, maps standard basis of ideals
    5656   *               to standard basis of their respective initial ideals
    5757   **/
    58   newstruct("graalBearer","int s, qring A, ideal L, ring Q, ideal H, ideal J, ring Q0, ideal J0, ring Q0y, ideal scriptI, qring Al, qring Ky, ideal scriptIin, map Q0yToKy, qring Graal, map ina");
     58  newstruct("graalBearer","int s, ring A, ideal L, ring Q, ideal H, ideal J, ring Q0, ideal J0, ring Q0y, ideal scriptI, ring Al, ring Ky, ideal scriptIin, map Q0yToKy, ring Graal, map ina");
    5959  system("install","graalBearer","print",graalBearer_print,1);
    6060
  • Singular/newstruct.cc

    r780c1b rf6b8d2e  
    556556  int lt=L->Typ();
    557557  int rt=R->Typ();
    558   if ((lt!=DEF_CMD)&&(lt!=rt))
     558  if (((lt!=DEF_CMD)&&(lt!=rt))
    559559  {
    560560    const char *rt1=Tok2Cmdname(rt);
     
    743743      return NULL;
    744744    }
    745     if (RingDependend(t) || (t==DEF_CMD)||(t==LIST_CMD))
     745    if (t==QRING_CMD) t=RING_CMD;
     746    else if (RingDependend(t) || (t==DEF_CMD)||(t==LIST_CMD))
    746747      res->size++;    // one additional field for the ring (before the data)
    747748    //Print("found type %s at real-pos %d",start,res->size);
Note: See TracChangeset for help on using the changeset viewer.