Changeset 2cc7c7 in git


Ignore:
Timestamp:
Sep 28, 2011, 8:33:32 PM (13 years ago)
Author:
Burcin Erocal <burcin@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
3c4a339c9cd0ddab377182b88058b40c7683791f
Parents:
a0acbc558a10c931620702cf1f67288945e04b23
git-author:
Burcin Erocal <burcin@erocal.org>2011-09-28 20:33:32+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:44+01:00
Message:
Make ndCopyMap() call n_Copy for coeffs with non simple_Alloc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/numbers.cc

    ra0acbc r2cc7c7  
    111111{
    112112  assume( getCoeffType(r) == getCoeffType(aRing) );
    113   assume( nCoeff_has_simple_Alloc(r) && nCoeff_has_simple_Alloc(aRing) );
    114  
    115   return a;
     113  if ( nCoeff_has_simple_Alloc(r) && nCoeff_has_simple_Alloc(aRing) )
     114    return a;
     115        else
     116    return n_Copy(a, r);
    116117}
    117118void ndKillChar(coeffs) {}
Note: See TracChangeset for help on using the changeset viewer.