Changeset 24ae47e in git
- Timestamp:
- Apr 8, 2016, 11:48:14 AM (8 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 08d042789438ab919c949e165d338ba0580cb0f0
- Parents:
- 7469aa20af424401c78c3e52b77df92d932a2029
- git-author:
- Andreas Steenpass <steenpass@mathematik.uni-kl.de>2016-04-08 11:48:14+02:00
- git-committer:
- Andreas Steenpass <steenpass@mathematik.uni-kl.de>2017-12-15 12:17:07+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/syz4.cc
r7469aa r24ae47e 93 93 static CLCM_test m_lcm(NULL); 94 94 95 static poly TraverseNF_test(const poly a , const poly a2)95 static poly TraverseNF_test(const poly a) 96 96 { 97 97 const ideal& L = m_idLeads_test; … … 100 100 poly aa = leadmonom_test(a, R); 101 101 poly t = TraverseTail_test(aa, r); 102 if( a2 != NULL ) 103 { 104 const int r2 = p_GetComp(a2, R) - 1; 105 poly aa2 = leadmonom_test(a2, R); 106 poly s = TraverseTail_test(aa2, r2); 107 p_Delete(&aa2, R); 108 t = p_Add_q(a2, p_Add_q(t, s, R), R); 109 } else 110 t = p_Add_q(t, ReduceTerm_test(aa, L->m[r], a), R); 102 t = p_Add_q(t, ReduceTerm_test(aa, L->m[r], a), R); 111 103 p_Delete(&aa, R); 112 104 return t; … … 885 877 pDelete(&res[index]->m[j]->next); 886 878 p->next = NULL; 887 res[index]->m[j]->next = TraverseNF_test(p , NULL);879 res[index]->m[j]->next = TraverseNF_test(p); 888 880 } 889 881 #endif // MYLIFT
Note: See TracChangeset
for help on using the changeset viewer.