Changeset 5469a9 in git


Ignore:
Timestamp:
Jul 11, 2011, 4:36:17 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
6a7368df0618cc5b104f43cceb2a3f3b41ba9366
Parents:
3159bc2ac1c78d8c4f420ece3f4a45d3ba16d103
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-07-11 16:36:17+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:39:13+01:00
Message:
FIX: n_DivBy should work for fields as well!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    r3159bc r5469a9  
    309309#endif
    310310
     311/// Test whether a can be divided by b?
    311312static inline BOOLEAN n_DivBy(number a, number b, const coeffs r)
    312313{
    313314  assume(r != NULL);
    314315#ifdef HAVE_RINGS
    315   assume(r->cfDivBy!=NULL); return r->cfDivBy(a,b,r);
     316  if( nCoeff_is_Ring(r) )
     317  {
     318    assume(r->cfDivBy!=NULL); return r->cfDivBy(a,b,r);
     319  }
    316320#endif
    317321  return !n_IsZero(b, r);
Note: See TracChangeset for help on using the changeset viewer.