Changeset 4ec0f0 in git for kernel/combinatorics/hilb.cc


Ignore:
Timestamp:
Sep 15, 2014, 9:14:09 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
eb55f8a52fe5ee84d19c269132981a40defce0da
Parents:
f7d39bddf5a7034fe148956d21d0cbe5d13c0021
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-09-15 21:14:09+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-09-23 20:08:14+02:00
Message:
Instumentation with id_Test* for inputs + more general hLookSeries
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/combinatorics/hilb.cc

    rf7d39b r4ec0f0  
    11381138                int /*notstc*/, intvec *wdegree, ideal Q, ring tailRing)
    11391139{
     1140  id_TestTail(S, currRing, tailRing);
     1141   
    11401142  intvec *work, *hseries1=NULL;
    11411143  int  mc;
     
    13701372*caller
    13711373*/
    1372 void hLookSeries(ideal S, intvec *modulweight, ideal Q)
    1373 {
    1374   int co, mu, l;
    1375   intvec *hseries2;
    1376   intvec *hseries1 = hFirstSeries(S, modulweight, Q);
     1374void hLookSeries(ideal S, intvec *modulweight, ideal Q, intvec *wdegree, ring tailRing)
     1375{
     1376  id_TestTail(S, currRing, tailRing);
     1377
     1378  intvec *hseries1 = hFirstSeries(S, modulweight, Q, wdegree, tailRing);
     1379   
    13771380  hPrintHilb(hseries1);
    1378   l = hseries1->length()-1;
    1379   if (l > 1)
    1380     hseries2 = hSecondSeries(hseries1);
    1381   else
    1382     hseries2 = hseries1;
     1381   
     1382  const int l = hseries1->length()-1;
     1383   
     1384  intvec *hseries2 = (l > 1) ? hSecondSeries(hseries1) : hseries1;
     1385   
     1386  int co, mu;
    13831387  hDegreeSeries(hseries1, hseries2, &co, &mu);
     1388   
    13841389  PrintLn();
    13851390  hPrintHilb(hseries2);
    13861391  if ((l == 1) &&(mu == 0))
    1387     scPrintDegree((currRing->N)+1, 0);
     1392    scPrintDegree(rVar(currRing)+1, 0);
    13881393  else
    13891394    scPrintDegree(co, mu);
Note: See TracChangeset for help on using the changeset viewer.