Changeset 24a614b in git


Ignore:
Timestamp:
Sep 7, 2011, 9:07:07 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
Children:
3aa9b6373c3eba8145bd3a0a102735ba0fc847ae
Parents:
895b31c1bd66c3f92ae5a8ac32a8a9758c66db7e
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-07 21:07:07+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:33+01:00
Message:
FIX: nc_p_Bracket_qq must take the 3rd RING argument!
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    r895b31c r24a614b  
    12351235        else return TRUE;
    12361236        res->rtyp=POLY_CMD;
    1237         if (rIsPluralRing(currRing))  res->data=nc_p_Bracket_qq(p,q);
     1237        if (rIsPluralRing(currRing))  res->data=nc_p_Bracket_qq(p,q, currRing);
    12381238        else res->data=NULL;
    12391239        return FALSE;
  • Singular/iparith.cc

    r895b31c r24a614b  
    26912691      {
    26922692        poly p = (poly)a->CopyD(POLY_CMD); // p = copy!
    2693         res->data = nc_p_Bracket_qq(p,q); // p will be destroyed!
     2693        res->data = nc_p_Bracket_qq(p,q, currRing); // p will be destroyed!
    26942694      }
    26952695    }
  • kernel/kutil.cc

    r895b31c r24a614b  
    15591559             // generalized prod-crit for lie-type
    15601560             strat->cp++;
    1561              Lp.p = nc_p_Bracket_qq(pCopy(p),strat->S[i]);
     1561             Lp.p = nc_p_Bracket_qq(pCopy(p),strat->S[i], currRing);
    15621562         }
    15631563         else
     
    73367336//             // generalized prod-crit for lie-type
    73377337//             strat->cp++;
    7338 //             Lp.p = nc_p_Bracket_qq(pCopy(p),q);
     7338//             Lp.p = nc_p_Bracket_qq(pCopy(p),q, currRing);
    73397339//         }
    73407340//         else
  • libpolys/polys/nc/nc.h

    r895b31c r24a614b  
    275275
    276276/* brackets: p will be destroyed... */
    277 poly nc_p_Bracket_qq(poly p, const poly q);
    278 
     277poly nc_p_Bracket_qq(poly p, const poly q, const ring r);
    279278
    280279static inline poly nc_ReduceSpoly(const poly p1, poly p2, const ring r)
Note: See TracChangeset for help on using the changeset viewer.