- Timestamp:
- Sep 12, 2022, 11:24:25 AM (20 months ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- a9fe62d682a9673bb4e5b18f9e403a6fada08de3
- Parents:
- 757d250da5f3f1d534605848fadebae533e3d8e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/pCoeff.cc
r757d25 r983edd 114 114 { 115 115 poly res=NULL; 116 int to_shift=0; 116 117 for(int i=0;i<IDELEMS(m);i++) 117 118 { … … 120 121 if (i>0) 121 122 { 122 p_Shift(&tmp,m->rank,r); // m->rank >= p_MaxComp(m->m[i-1],r) 123 to_shift+=p_MaxComp(m->m[i-1],r); 124 p_Shift(&tmp,to_shift,r); 123 125 res=p_Add_q(res,tmp,r); 124 126 }
Note: See TracChangeset
for help on using the changeset viewer.