Changeset 6c5f32 in git for libpolys


Ignore:
Timestamp:
May 10, 2011, 7:49:38 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '6e5adcba05493683b94648c659a729c189812c77')
Children:
0276c1a1f7c3742dd420b2f24bb6743dfd05ef4f
Parents:
57788869812f074ed82c9c9d35c5a04f6adf48f7
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-05-10 19:49:38+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:02+01:00
Message:
FIX: n_DivBy exists for rings only...
FIX: p_Div_nn should always exist!
Location:
libpolys
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/p_polys.cc

    r577888 r6c5f32  
    13251325}
    13261326
    1327 #ifdef HAVE_RINGS   //TODO Oliver
    1328 
    13291327poly p_Div_nn(poly p, const number n, const ring r)
    13301328{
     
    13431341  return q;
    13441342}
    1345 #endif
    13461343
    13471344/*2
  • libpolys/tests/coeffs_test.h

    r577888 r6c5f32  
    2727
    2828
    29 namespace
    30 {
    31 
    3229void TestSum(const coeffs r, const unsigned long N)
    3330{
     
    5653  if( !n_IsZero( i, r) )
    5754  {
     55#ifdef HAVE_RINGS
    5856    TS_ASSERT( n_DivBy(s, i, r) );
     57#endif
     58     
    5959    res = n_Div(s, i, r);
    6060 
     
    334334
    335335
    336 }
    337336
    338337// We can rely on this file being included exactly once
  • libpolys/tests/polys_test.h

    r577888 r6c5f32  
    129129      clog<< "number(poly(N)*poly(N+1)): "; PrintSized(ii, r->cf); 
    130130
     131#ifdef HAVE_RINGS
    131132      TS_ASSERT( n_DivBy(ii, t, r->cf) );
    132       res = p_Div_nn(i, t, r); i = NULL;
     133#endif
     134       res = p_Div_nn(i, t, r); i = NULL;
    133135    }
    134136   
Note: See TracChangeset for help on using the changeset viewer.