Changeset 88c2d0 in git


Ignore:
Timestamp:
Nov 10, 2006, 7:12:01 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
d939c1e68a205cfab9b535d5ffe9a458efc78b76
Parents:
6ce15f016d2c8e334ea0c63562956819a0ca5b8d
Message:
*hannes: test var-weights for correct length in std_hilb_w


git-svn-id: file:///usr/local/Singular/svn/trunk@9479 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r6ce15f r88c2d0  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iparith.cc,v 1.417 2006-11-09 12:56:57 Singular Exp $ */
     4/* $Id: iparith.cc,v 1.418 2006-11-10 18:12:01 Singular Exp $ */
    55
    66/*
     
    55635563static BOOLEAN jjSTD_HILB_W(leftv res, leftv u, leftv v, leftv w)
    55645564{
     5565  intvec *vw=(intvec *)w->Data(); // weights of vars
     5566  if (vw->length()!=currRing->N)
     5567  {
     5568    Werror("%d weights for %d variables",vw->length(),currRing->N);
     5569    return TRUE;
     5570  }
    55655571  ideal result;
    55665572  intvec *ww=(intvec *)atGet(u,"isHomog",INTVEC_CMD);
     
    55865592              (intvec *)v->Data(),  // hilbert series
    55875593              0,0,                  // syzComp, newIdeal
    5588               (intvec *)w->Data()); // weights of vars
     5594              vw);                  // weights of vars
    55895595  idSkipZeroes(result);
    55905596  res->data = (char *)result;
     
    79527958  //iiArithAddCmd("kkk", 1, 1234, CMD_1);
    79537959#endif   /* !GENTABLE */
     7960  return 0;
    79547961}
    79557962
Note: See TracChangeset for help on using the changeset viewer.