Changeset 2dbf7e in git for factory/facFqSquarefree.cc
 Timestamp:
 Jan 11, 2012, 12:53:11 PM (12 years ago)
 Branches:
 (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
 Children:
 e6d914d46115be7cd5ff3fbf2059f167d89779ec
 Parents:
 6c98d526bf15bb5a2845bfd4fb4f54474229668c
 gitauthor:
 Martin Lee <martinlee84@web.de>20120111 12:53:11+01:00
 gitcommitter:
 Martin Lee <martinlee84@web.de>20120111 15:21:15+01:00
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

factory/facFqSquarefree.cc
r6c98d52 r2dbf7e 110 110 int l= x.level(); 111 111 int k; 112 bool GF= false;113 112 if (CFFactory::gettype() == GaloisFieldDomain) 114 113 k= getGFDegree(); … … 174 173 j.getItem()= CFFactor (j.getItem().factor()/tmp, j.getItem().exp()); 175 174 if (degree (tmp) > 0 && tmp.level() > 0) 176 result.append (CFFactor (M (tmp), 175 { 176 tmp= M (tmp); 177 result.append (CFFactor (tmp/Lc(tmp), 177 178 j.getItem().exp()*p + i.getItem().exp())); 179 } 178 180 } 179 181 } 180 182 for (CFFListIterator i= tmp2; i.hasItem(); i++) 183 { 181 184 if (degree (i.getItem().factor()) > 0 && i.getItem().factor().level() >= 0) 182 result.append (CFFactor (M (i.getItem().factor()), i.getItem().exp())); 185 { 186 tmp= M (i.getItem().factor()); 187 result.append (CFFactor (tmp/Lc(tmp), i.getItem().exp())); 188 } 189 } 183 190 for (CFFListIterator j= tmp1; j.hasItem(); j++) 191 { 184 192 if (degree (j.getItem().factor()) > 0 && j.getItem().factor().level() >= 0) 185 result.append (CFFactor (M (j.getItem().factor()), j.getItem().exp()*p)); 193 { 194 tmp= M (j.getItem().factor()); 195 result.append (CFFactor (tmp/Lc(tmp), j.getItem().exp()*p)); 196 } 197 } 186 198 return result; 187 199 }
Note: See TracChangeset
for help on using the changeset viewer.