Changeset 5cb9ec in git
- Timestamp:
- Aug 25, 2010, 5:43:19 PM (13 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- f9bb6862e22f14387a67696733ad2d1024a69ade
- Parents:
- 7716999192c3c1585b7eb5da3b21a439b95aaf59
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/p_polys.cc
r7716999 r5cb9ec 218 218 if( vo != -1) // TODO: optimize: can be done once! 219 219 { 220 p_SetExp(p, p_GetExp(p, i, r), vo, r); // copy put them verbatim 221 assume( p_GetExp(p, vo, r) == p_GetExp(p, i, r) ); // copy put them verbatim 220 // Hans! Please don't break it again! p_SetExp(p, ..., r, vo) is correct: 221 p_SetExp(p, p_GetExp(p, i, r), r, vo); // copy put them verbatim 222 // Hans! Please don't break it again! p_GetExp(p, r, vo) is correct: 223 assume( p_GetExp(p, r, vo) == p_GetExp(p, i, r) ); // copy put them verbatim 222 224 } 223 225 } … … 231 233 if( vo != -1) // TODO: optimize: can be done once! 232 234 { 233 assume( p_GetExp(p, vo, r) == p_GetExp(p, i, r) ); // copy put them verbatim 235 // Hans! Please don't break it again! p_GetExp(p, r, vo) is correct: 236 assume( p_GetExp(p, r, vo) == p_GetExp(p, i, r) ); // copy put them verbatim 234 237 } 235 238 } … … 302 305 const int vo = pVarOffset[i]; 303 306 if( vo != -1) // TODO: optimize: can be done once! 304 assume( p_GetExp(p, vo, r) == (p_GetExp(p, i, r) + p_GetExp(pp, vo, r)) ); 307 // Hans! Please don't break it again! p_GetExp(p/pp, r, vo) is correct: 308 assume( p_GetExp(p, r, vo) == (p_GetExp(p, i, r) + p_GetExp(pp, r, vo)) ); 305 309 } 306 310 // TODO: how to check this for computed values???
Note: See TracChangeset
for help on using the changeset viewer.