Ignore:
Timestamp:
Jun 15, 2015, 12:16:06 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
Children:
4470e259ee2a2b265d8bdc47b48ea3e4619298b5
Parents:
0269e193f4830d56d57f6a85911be55807f13b15
Message:
removed p_DebugPrint (->p_wrp)
File:
1 edited

Legend:

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

    r0269e1 r4a45a4e  
    42464246
    42474247
    4248 #ifndef SING_NDEBUG
    4249 /// debug-print at most nTerms (2 by default) terms from poly/vector p,
    4250 /// assuming that lt(p) lives in lmRing and tail(p) lives in tailRing.
    4251 void p_DebugPrint(const poly p, const ring lmRing, const ring tailRing, const int nTerms)
    4252 {
    4253   assume( nTerms >= 0 );
    4254   if( p != NULL )
    4255   {
    4256     assume( p != NULL );
    4257 
    4258     p_Write(p, lmRing, tailRing);
    4259 
    4260     if( (p != NULL) && (nTerms > 0) )
    4261     {
    4262       assume( p != NULL );
    4263       assume( nTerms > 0 );
    4264 
    4265       // debug pring leading term
    4266       m_DebugPrint(p, lmRing);
    4267 
    4268       poly q = pNext(p); // q = tail(p)
    4269 
    4270       // debug pring tail (at most nTerms-1 terms from it)
    4271       for(int j = nTerms - 1; (q !=NULL) && (j > 0); pIter(q), --j)
    4272         m_DebugPrint(q, tailRing);
    4273 
    4274       if (q != NULL)
    4275         PrintS("...\n");
    4276     }
    4277   }
    4278   else
    4279     PrintS("0\n");
    4280 }
    4281 #endif
    4282 
    4283 
    42844248//    F = system("ISUpdateComponents", F, V, MIN );
    42854249//    // replace gen(i) -> gen(MIN + V[i-MIN]) for all i > MIN in all terms from F!
     
    42964260#ifdef PDEBUG
    42974261    Print("F[%d]:", j);
    4298     p_DebugPrint(F->m[j], r, r, 0);
     4262    p_wrp(F->m[j], r);
    42994263#endif
    43004264
     
    43154279    Print("new F[%d]:", j);
    43164280    p_Test(F->m[j], r);
    4317     p_DebugPrint(F->m[j], r, r, 0);
    4318 #endif
    4319   }
    4320 
    4321 }
    4322 
    4323 
    4324 
     4281    p_wrp(F->m[j], r);
     4282#endif
     4283  }
     4284}
    43254285
    43264286/*2
Note: See TracChangeset for help on using the changeset viewer.