Changeset 9f6cc0 in git
- Timestamp:
- Sep 27, 2012, 7:38:18 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- dc79bd7d1e331302a1fc20150a37e81890e6300a
- Parents:
- f7a3f2c3bd5758d1e77832d52f4959f79e8c7768
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-09-27 19:38:18+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-10-05 18:15:05+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipassign.cc
rf7a3f2 r9f6cc0 256 256 ideal q = idInit(1,1); 257 257 258 assume( DEN((fraction Object *)(p)) == NULL ); // minpoly must be a poly...!?259 260 q->m[0] = NUM((fraction Object *)p);258 assume( DEN((fraction)(p)) == NULL ); // minpoly must be a fraction with poly numerator...!! 259 260 q->m[0] = NUM((fraction)p); 261 261 A.r->qideal = q; 262 262 … … 269 269 #endif 270 270 271 NUM((fractionObject *)p) = NULL; n_Delete(&p, currRing->cf); 271 // :( 272 // NUM((fractionObject *)p) = NULL; // makes 0/ NULL fraction - which should not happen! 273 // n_Delete(&p, currRing->cf); // doesn't expect 0/ NULL :( 274 if(true) 275 { 276 extern omBin fractionObjectBin; 277 NUM((fractionObject *)p) = NULL; // not necessary, but still... 278 omFreeBin((ADDRESS)p, fractionObjectBin); 279 } 280 272 281 273 282 coeffs new_cf = nInitChar(n_algExt, &A);
Note: See TracChangeset
for help on using the changeset viewer.