Changeset e5dc2c2 in git for Singular/ipshell.cc
- Timestamp:
- Jul 27, 2007, 4:09:52 PM (17 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- a7f91065c48e086c635273382cebfdf90d711129
- Parents:
- c2d114a721855bee723ab1a7863cd9572537c545
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
rc2d114 re5dc2c2 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ipshell.cc,v 1.16 6 2007-07-27 13:37:21Singular Exp $ */4 /* $Id: ipshell.cc,v 1.167 2007-07-27 14:09:52 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 1917 1917 for (i=0; i<iv->length();i++) 1918 1918 { 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 }1926 1919 R->wvhdl[j][i]=(*iv)[i]; 1927 1920 } … … 4241 4234 { 4242 4235 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 }4250 4236 } 4251 4237 R->block0[n] = last+1;
Note: See TracChangeset
for help on using the changeset viewer.