Changeset 5bca73 in git


Ignore:
Timestamp:
Jul 5, 2005, 7:10:41 PM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
cc28774b64bce956d555cab5b4b4a7fb736f8beb
Parents:
e8a51992f277053fdf7ce605577f086a69d93afd
Message:
*hannes: npReadi fixes for NV_OPS


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

Legend:

Unmodified
Added
Removed
  • kernel/modulop.cc

    re8a519 r5bca73  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: modulop.cc,v 1.3 2005-07-05 16:33:47 Singular Exp $ */
     4/* $Id: modulop.cc,v 1.4 2005-07-05 17:10:41 Singular Exp $ */
    55/*
    66* ABSTRACT: numbers modulo p (<=32003)
     
    312312void npSetChar(int c, ring r)
    313313{
    314 #ifdef NV_OPS
    315   if (r->cf->npPrimeM >NV_MAX_PRIME) return;
    316 #endif
    317314
    318315//  if (c==npPrimeM) return;
     
    322319    else     npPrimeM = -c;
    323320    npPminus1M = npPrimeM - 1;
     321#ifdef NV_OPS
     322    if (r->cf->npPrimeM >NV_MAX_PRIME) return;
     323#endif
    324324#ifdef HAVE_DIV_MOD
    325325    npInvTable=r->cf->npInvTable;
Note: See TracChangeset for help on using the changeset viewer.