Changeset 511e7be in git


Ignore:
Timestamp:
Oct 9, 1997, 11:36:23 AM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
9e5b1588ec35e6da435f785a95cb21fcf36ac103
Parents:
4dea87ed93ab0d7011c248e3607bf444e2fbd16e
Message:
* hannes: fixed bug with npGen (undefined in char 2)
          little optimisation in npSetChar


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

Legend:

Unmodified
Added
Removed
  • Singular/modulop.cc

    r4dea87 r511e7be  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: modulop.cc,v 1.7 1997-06-04 19:45:22 obachman Exp $ */
     4/* $Id: modulop.cc,v 1.8 1997-10-09 09:36:23 Singular Exp $ */
    55/*
    66* ABSTRACT: numbers modulo p (<=32003)
     
    220220    Free( (ADDRESS)npExpTable,npPrimeM*sizeof(CARDINAL) );
    221221    Free( (ADDRESS)npLogTable,npPrimeM*sizeof(CARDINAL) );
    222     npExpTable=NULL;
    223     npLogTable=NULL;
    224222  }
    225223  if ((c>1) || (c<(-1)))
     
    251249          break;
    252250      }
     251      npGen=w;
    253252    }
    254253    else
    255254    {
    256255      npExpTable[1] = 1;
     256      npGen=1;
    257257    }
    258258  }
    259259  else
     260  {
    260261    npPrimeM=0;
    261  npGen=w;
     262    npExpTable=NULL;
     263    npLogTable=NULL;
     264  }
    262265}
    263266
Note: See TracChangeset for help on using the changeset viewer.