Changeset a8941bc in git for Singular


Ignore:
Timestamp:
Feb 19, 2013, 6:37:35 PM (11 years ago)
Author:
Janko Boehm <boehm@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
ce7f16f195c1286582451e06b82213b64579d70c
Parents:
41e8b30346c2752b7dfc43aea125bd3b2781ea81
git-author:
Janko Boehm <boehm@mathematik.uni-kl.de>2013-02-19 18:37:35+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-02-20 10:00:45+01:00
Message:
Check for negative characteristic
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    r41e8b3 ra8941bc  
    50795079      if (ch!=0)
    50805080      {
     5081        if (ch<2)
     5082        {
     5083          Warn("%d is invalid characteristic of ground field. 32003 is used.", ch);
     5084          ch=32003;
     5085        }
    50815086        ch=IsPrime(ch);
    50825087        cf = nInitChar(n_Zp, (void*)(long)ch);
Note: See TracChangeset for help on using the changeset viewer.