Changeset b11128 in git


Ignore:
Timestamp:
Jan 21, 2008, 12:19:52 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a2f282249ec19cfc23097e0a535f65c7b4cf87fa
Parents:
0ab7da22b1864f9d6fe30cbbbf75bf4d5fe7acd3
Message:
*hannes: gen(<=0) message


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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r0ab7da rb11128  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iparith.cc,v 1.463 2008-01-08 12:10:40 Singular Exp $ */
     4/* $Id: iparith.cc,v 1.464 2008-01-21 11:19:52 Singular Exp $ */
    55
    66/*
     
    37033703  res->data = (char *)pOne();
    37043704  int co=(int)(long)v->Data();
    3705   pSetComp((poly)res->data,co);
    3706   pSetm((poly)res->data);
     3705  if (co>0)
     3706  {
     3707    pSetComp((poly)res->data,co);
     3708    pSetm((poly)res->data);
     3709  }
     3710  else WerrorS("argument of gen must be positive");
    37073711  return (co<=0);
    37083712}
Note: See TracChangeset for help on using the changeset viewer.