Changeset d826a8 in git


Ignore:
Timestamp:
Feb 18, 2013, 4:38:25 PM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
71a4d7b8fea297969227779896a8ec8fc63aaedaa1da6f6fa3cfce502fec23270a8a572c1290577d
Parents:
cac65b971f60d23d7a8a17a0c4e315c1cf83355b
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-02-18 16:38:25+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-02-18 16:39:27+01:00
Message:
fix: ring r=(49,a,b),x,dp; rInit with too many parameters
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    rcac65b rd826a8  
    51045104      else // (0/p, a, b, ..., z)
    51055105      {
    5106         assume( (ch == 0) || (ch==IsPrime(ch)) );
    5107 
    5108 //         if ((pars > 1) && (ffChar))
    5109 //         {
    5110 //           WerrorS("too many parameters");
    5111 //           goto rInitError;
    5112 //         }
     5106        if ((ch!=0) && (ch!=IsPrime(ch)))
     5107        {
     5108          WerrorS("too many parameters");
     5109          goto rInitError;
     5110        }
    51135111
    51145112        char ** names = (char**)omAlloc0(pars * sizeof(char_ptr));
Note: See TracChangeset for help on using the changeset viewer.