Changeset e5dc2c2 in git for Singular/ipshell.cc


Ignore:
Timestamp:
Jul 27, 2007, 4:09:52 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a7f91065c48e086c635273382cebfdf90d711129
Parents:
c2d114a721855bee723ab1a7863cd9572537c545
Message:
*hannes: check wp/Wp weights


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

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    rc2d114 re5dc2c2  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipshell.cc,v 1.166 2007-07-27 13:37:21 Singular Exp $ */
     4/* $Id: ipshell.cc,v 1.167 2007-07-27 14:09:52 Singular Exp $ */
    55/*
    66* ABSTRACT:
     
    19171917           for (i=0; i<iv->length();i++)
    19181918           {
    1919              if (((R->order[j]==ringorder_wp)
    1920                || (R->order[j]==ringorder_Wp))
    1921              && ((*iv)[i]<=0))
    1922              {
    1923                Werror("weight (var %d) for wp/Wp has to be positive, but is %d",i+1,(*iv)[i]);
    1924                goto rCompose_err;
    1925              }
    19261919             R->wvhdl[j][i]=(*iv)[i];
    19271920           }
     
    42414234            {
    42424235              R->wvhdl[n][i-2] = (*iv)[i];
    4243               if (((R->order[n]==ringorder_wp)
    4244                 || (R->order[n]==ringorder_Wp))
    4245               && ((*iv)[i]<=0))
    4246               {
    4247                 Werror("weight (var %d) for wp/Wp has to be positive, but is %d ",i+1,(*iv)[i]);
    4248                 return TRUE;
    4249               }
    42504236            }
    42514237            R->block0[n] = last+1;
Note: See TracChangeset for help on using the changeset viewer.