Changeset 7fe9e13 in git for libpolys/polys/monomials/ring.cc
- Timestamp:
- Jan 7, 2014, 10:49:14 AM (10 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 458fe5223a24efe5daf71219814103af29a22a4a
- Parents:
- 9dba83b67ef6188c31760d27748664d42a28b6db
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-01-07 10:49:14+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-01-07 11:06:05+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/ring.cc
r9dba83b r7fe9e13 326 326 { 327 327 assume( l == 0 ); 328 #ifndef NDEBUG328 #ifndef SING_NDEBUG 329 329 Print(" syzcomp at %d",r->typ[l].data.syz.limit); 330 330 #endif … … 1405 1405 if (copy_qideal) 1406 1406 { 1407 #ifndef NDEBUG1407 #ifndef SING_NDEBUG 1408 1408 if (!copy_ordering) 1409 1409 WerrorS("internal error: rCopy0(Q,TRUE,FALSE)"); … … 1411 1411 #endif 1412 1412 { 1413 #ifndef NDEBUG1413 #ifndef SING_NDEBUG 1414 1414 WarnS("internal bad stuff: rCopy0(Q,TRUE,TRUE)"); 1415 1415 #endif … … 1561 1561 if (copy_qideal) 1562 1562 { 1563 #ifndef NDEBUG1563 #ifndef SING_NDEBUG 1564 1564 if (!copy_ordering) 1565 1565 WerrorS("internal error: rCopy0(Q,TRUE,FALSE)"); … … 1567 1567 #endif 1568 1568 { 1569 #ifndef NDEBUG1569 #ifndef SING_NDEBUG 1570 1570 WarnS("internal bad stuff: rCopy0(Q,TRUE,TRUE)"); 1571 1571 #endif … … 2315 2315 } 2316 2316 2317 #ifndef NDEBUG2317 #ifndef SING_NDEBUG 2318 2318 # define MYTEST 0 2319 #else /* ifndef NDEBUG */2319 #else /* ifndef SING_NDEBUG */ 2320 2320 # define MYTEST 0 2321 #endif /* ifndef NDEBUG */2321 #endif /* ifndef SING_NDEBUG */ 2322 2322 2323 2323 static void rO_ISPrefix(int &place, int &bitplace, int &prev_ord, … … 2610 2610 case ringorder_S: 2611 2611 { 2612 #ifndef NDEBUG2612 #ifndef SING_NDEBUG 2613 2613 Warn("Error: unhandled ordering in rModifyRing: ringorder_S = [%d]", r_ord); 2614 2614 #endif … … 2666 2666 if (omit_comp) 2667 2667 { 2668 #ifndef NDEBUG2668 #ifndef SING_NDEBUG 2669 2669 Warn("Error: WRONG USAGE of rModifyRing: cannot omit component due to the ordering block [%d]: %d (ringorder_IS)", i, r_ord); 2670 2670 #endif … … 2680 2680 if (omit_comp) 2681 2681 { 2682 #ifndef NDEBUG2682 #ifndef SING_NDEBUG 2683 2683 Warn("WRONG USAGE? of rModifyRing: omitting component due to the ordering block [%d]: %d (ringorder_s)", i, r_ord); 2684 2684 #endif … … 2786 2786 if ( nc_rComplete(r, res, false) ) // no qideal! 2787 2787 { 2788 #ifndef NDEBUG2788 #ifndef SING_NDEBUG 2789 2789 WarnS("error in nc_rComplete"); 2790 2790 #endif … … 2843 2843 if ( nc_rComplete(r, res, false) ) // no qideal! 2844 2844 { 2845 #ifndef NDEBUG2845 #ifndef SING_NDEBUG 2846 2846 WarnS("error in nc_rComplete"); 2847 2847 #endif … … 2904 2904 if ( nc_rComplete(r, res, false) ) // no qideal! 2905 2905 { 2906 #ifndef NDEBUG2906 #ifndef SING_NDEBUG 2907 2907 WarnS("error in nc_rComplete"); 2908 2908 #endif … … 3257 3257 if( rGetISPos(0, r) != -1 ) // Are there Schreyer induced blocks? 3258 3258 { 3259 #ifndef NDEBUG3259 #ifndef SING_NDEBUG 3260 3260 assume( r->pFDeg == p_Deg || r->pFDeg == p_WTotaldegree || r->pFDeg == p_Totaldegree); 3261 3261 #endif … … 3808 3808 assume( r->typ[i].data.syzcomp.Components == NULL ); 3809 3809 // WarnS( "rUnComplete : ord_typ == ro_syzcomp was unhandled!!! Possibly memory leak!!!" ); 3810 #ifndef NDEBUG3810 #ifndef SING_NDEBUG 3811 3811 // assume(0); 3812 3812 #endif … … 4010 4010 4011 4011 Print(" limit %d",r->typ[j].data.is.limit); 4012 #ifndef NDEBUG4012 #ifndef SING_NDEBUG 4013 4013 //PrintS(" F: ");idShow(r->typ[j].data.is.F, r, r, 1); 4014 4014 #endif … … 4176 4176 4177 4177 4178 #ifndef NDEBUG4178 #ifndef SING_NDEBUG 4179 4179 /// debug-print at most nTerms (2 by default) terms from poly/vector p, 4180 4180 /// assuming that lt(p) lives in lmRing and tail(p) lives in tailRing. … … 4328 4328 if ( r->order[0] == ringorder_IS ) 4329 4329 { 4330 #ifndef NDEBUG4330 #ifndef SING_NDEBUG 4331 4331 WarnS("rAssure_SyzComp: input ring has an IS-ordering!"); 4332 4332 #endif … … 4364 4364 if ( nc_rComplete(r, res, false) ) // no qideal! 4365 4365 { 4366 #ifndef NDEBUG4366 #ifndef SING_NDEBUG 4367 4367 WarnS("error in nc_rComplete"); // cleanup?// rDelete(res);// return r; // just go on.. 4368 4368 #endif … … 4468 4468 if ( nc_rComplete(r, res, false) ) // no qideal! 4469 4469 { 4470 #ifndef NDEBUG4470 #ifndef SING_NDEBUG 4471 4471 WarnS("error in nc_rComplete"); 4472 4472 #endif … … 4541 4541 if ( nc_rComplete(r, new_r, false) ) // no qideal! 4542 4542 { 4543 #ifndef NDEBUG4543 #ifndef SING_NDEBUG 4544 4544 WarnS("error in nc_rComplete"); // cleanup?// rDelete(res);// return r; // just go on.. 4545 4545 #endif … … 4592 4592 if ( nc_rComplete(r, new_r, false) ) // no qideal! 4593 4593 { 4594 #ifndef NDEBUG4594 #ifndef SING_NDEBUG 4595 4595 WarnS("error in nc_rComplete"); // cleanup?// rDelete(res);// return r; // just go on.. 4596 4596 #endif … … 4626 4626 if ( nc_rComplete(old_r, new_r, false) ) // no qideal! 4627 4627 { 4628 # ifndef NDEBUG4628 # ifndef SING_NDEBUG 4629 4629 WarnS("error in nc_rComplete"); // cleanup? rDelete(res); return r; // just go on...? 4630 4630 # endif … … 4644 4644 if( nc_SetupQuotient(new_r, old_r, true) ) 4645 4645 { 4646 #ifndef NDEBUG4646 #ifndef SING_NDEBUG 4647 4647 WarnS("error in nc_SetupQuotient"); // cleanup? rDelete(res); return r; // just go on...? 4648 4648 #endif … … 4700 4700 if ( nc_rComplete(r, res, false) ) // no qideal! 4701 4701 { 4702 #ifndef NDEBUG4702 #ifndef SING_NDEBUG 4703 4703 WarnS("error in nc_rComplete"); 4704 4704 #endif … … 4780 4780 if ( nc_rComplete(r, res, false) ) // no qideal! 4781 4781 { 4782 #ifndef NDEBUG4782 #ifndef SING_NDEBUG 4783 4783 WarnS("error in nc_rComplete"); // cleanup?// rDelete(res);// return r; // just go on.. 4784 4784 #endif … … 4963 4963 if(k < r->typ[0].data.syz.limit) // ? 4964 4964 { 4965 #ifndef NDEBUG4965 #ifndef SING_NDEBUG 4966 4966 Warn("rSetSyzComp called with smaller limit (%d) as before (%d)", k, r->typ[0].data.syz.limit); 4967 4967 #endif … … 4979 4979 { 4980 4980 // (r->typ[currRing->typ[0].data.isTemp.suffixpos].data.is.limit == k) 4981 #ifndef NDEBUG4981 #ifndef SING_NDEBUG 4982 4982 Warn("rSetSyzComp(%d) in an IS ring! Be careful!", k); 4983 4983 #endif
Note: See TracChangeset
for help on using the changeset viewer.