Changeset 4ff07f in git


Ignore:
Timestamp:
Aug 11, 2011, 3:15:17 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'd28bb9fd81d9b3c28434941de2792173765710d2')
Children:
320f1c493166188f02c725a08142ac1ff60c6d6b
Parents:
bda3ea63e914ed9e4c29fa58362e3b31a758bc4d
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-08-11 15:15:17+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:19:15+01:00
Message:
fix subexpr.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/subexpr.cc

    rbda3ea r4ff07f  
    402402      return  (void *)nCopy((number)d);
    403403    case BIGINT_CMD:
    404       return  (void *)nlCopy((number)d, currRing->cf);
     404      return  (void *)n_Copy((number)d, coeffs_BIGINT);
    405405    case MAP_CMD:
    406406      return  (void *)maCopy((map)d, currRing);
     
    492492    {
    493493      number n=(number)d;
    494       nlDelete(&n,NULL);
     494      n_Delete(&n,coeffs_BIGINT);
    495495      break;
    496496    }
     
    756756          StringSetS((char*) (typed ? "bigint(" : ""));
    757757          number nl=(number)d;
    758           nlWrite(nl,NULL);
     758          n_Write(nl,coeffs_BIGINT);
    759759          s = StringAppendS((char*) (typed ? ")" : ""));
    760760          return omStrDup(s);
     
    16721672    case BIGINT_CMD:
    16731673#ifdef LDEBUG
    1674       nlTest((number)Data());
     1674      n_Test((number)Data(),coeffs_BIGINT);
    16751675#endif
    16761676      break;
Note: See TracChangeset for help on using the changeset viewer.