Changeset 1b45a8 in git


Ignore:
Timestamp:
Apr 17, 1998, 9:53:43 AM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c7af8613769b29c741d6c338945669719f1fc4f8')
Children:
802a185c386e17c781afd6e24d51aa81c7555151
Parents:
66be51317f9400a7183a651dba28b63c4ebbdf83
Message:
 * hannes: fixed a minor but very nasty bug: nlSetMap was resetting npPrimeM
   (longrat.cc)


git-svn-id: file:///usr/local/Singular/svn/trunk@1392 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/getopt.c

    r66be513 r1b45a8  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $id:$ */
     4/* $Id: getopt.c,v 1.2 1998-04-17 07:53:41 Singular Exp $ */
    55
    66/* Getopt for GNU.
  • Singular/longrat.cc

    r66be513 r1b45a8  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: longrat.cc,v 1.15 1998-01-12 17:32:47 Singular Exp $ */
     4/* $Id: longrat.cc,v 1.16 1998-04-17 07:53:43 Singular Exp $ */
    55/*
    66* ABSTRACT: computation with long rational numbers (Hubert Grassmann)
     
    2424#endif
    2525
     26static int nlPrimeM;
    2627static number nlMapP(number from)
    2728{
    2829  number to;
     30  int save=npPrimeM;
     31  npPrimeM=nlPrimeM;
    2932  to = nlInit(npInt(from));
     33  npPrimeM=save;
    3034  return to;
    3135}
     
    4246    if (par==NULL)
    4347    {
    44       npPrimeM=c;
     48      nlPrimeM=c;
    4549      nMap = nlMapP; /* Z/p -> Q */
    4650      return TRUE;
Note: See TracChangeset for help on using the changeset viewer.