Changeset 0ed632 in git


Ignore:
Timestamp:
Jun 8, 2018, 4:36:24 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '82fc009ea2b0098c1a4896c841bb70860976bdfc')
Children:
db0acde285338960ce70dbd657da1dadcfc88255
Parents:
41635a4760489ec7036b6e437c35ffd4f31e35d7
Message:
fix: conversion from polyBucket in subst
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r41635a r0ed632  
    62446244  }
    62456245  return FALSE;
     6246}
     6247static BOOLEAN jjSUBST_Bu(leftv res, leftv u, leftv v,leftv w)
     6248{
     6249  // generic conversion from polyBucket to poly:
     6250  // force this to be the first try everytime
     6251  poly p; int l;
     6252  sBucket_pt bu=(sBucket_pt)w->CopyD();
     6253  sBucketDestroyAdd(bu,&p,&l);
     6254  sleftv tmpw;
     6255  tmpw.Init();
     6256  tmpw.rtyp=POLY_CMD;
     6257  tmpw.data=p;
     6258  return iiExprArith3(res, iiOp, u, v, &tmpw);
    62466259}
    62476260static BOOLEAN jjSUBST_P(leftv res, leftv u, leftv v,leftv w)
  • Singular/table.h

    r41635a r0ed632  
    851851,{D(jjSTD_HILB_W),     STD_CMD,    IDEAL_CMD,  IDEAL_CMD,  INTVEC_CMD, INTVEC_CMD, ALLOW_PLURAL |NO_RING}
    852852,{D(jjSTD_HILB_W),     STD_CMD,    MODUL_CMD,  MODUL_CMD,  INTVEC_CMD, INTVEC_CMD, ALLOW_PLURAL |NO_RING}
     853,{D(jjSUBST_Bu),       SUBST_CMD,  ANY_TYPE,   DEF_CMD,    POLY_CMD,   BUCKET_CMD , ALLOW_PLURAL |ALLOW_RING}
    853854,{D(jjSUBST_P),        SUBST_CMD,  POLY_CMD,   POLY_CMD,   POLY_CMD,   POLY_CMD , ALLOW_PLURAL |ALLOW_RING}
    854855,{D(jjSUBST_P),        SUBST_CMD,  VECTOR_CMD, VECTOR_CMD, POLY_CMD,   POLY_CMD , ALLOW_PLURAL |ALLOW_RING}
  • Tst/Short/ok_s.lst

    r41635a r0ed632  
    22abusalem
    33branchTo
     4bug_bucket
    45bug_curvepar
    56bug_ecart
Note: See TracChangeset for help on using the changeset viewer.