Changeset 122981 in git


Ignore:
Timestamp:
Jan 30, 2008, 5:10:37 PM (15 years ago)
Author:
Oliver Wienand <wienand@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
Children:
12ea9df042d8c883f3d3c722b2388c0424347a88
Parents:
faa7df853a3237b63560a72ed208619df8d26215
Message:
ipshell.cc:
usigned long long ringflaga fuer modul


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

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    rfaa7df r122981  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ipshell.cc,v 1.174 2008-01-30 14:28:16 wienand Exp $ */
     4/* $Id: ipshell.cc,v 1.175 2008-01-30 16:10:37 wienand Exp $ */
    55/*
    66* ABSTRACT:
     
    43714371  int ch;
    43724372#ifdef HAVE_RINGS
    4373   int ringtype = 0;
    4374   unsigned long ringflaga = 0;
     4373  unsigned int ringtype = 0;
     4374  unsigned long long ringflaga = 0;
    43754375  unsigned int ringflagb = 0;
    43764376#endif
     
    44254425  && (strcmp(pn->name,"modnat")==0))
    44264426  {
    4427     long module = 0;
    4428     if ((pn->next!=NULL) && (pn->next->Typ()==INT_CMD))
    4429     {
    4430       module =(unsigned long) pn->next->Data();
     4427    unsigned long long module = 1;
     4428    while ((pn->next!=NULL) && (pn->next->Typ()==INT_CMD))
     4429    {
     4430      module *= (unsigned long long) pn->next->Data();
    44314431      pn=pn->next;
    44324432    }
    44334433    if ((module < 2))
    44344434    {
    4435       Werror("Wrong ground ring specification");
     4435      Werror("Wrong ground ring specification (modnat)");
    44364436      goto rInitError;
    44374437    }
Note: See TracChangeset for help on using the changeset viewer.