Changeset 1e6734 in git
- Timestamp:
- Nov 6, 2009, 3:53:53 PM (14 years ago)
- Branches:
- (u'spielwiese', '5d369c3cbad1a1bf2d5c856a48fb8a30b51cec3b')
- Children:
- 822e655d18d08e0974d10c5f667eba284bff1e0a
- Parents:
- 83f349c17bc61f05628b00a81b245ebb3b00eac6
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/TestMinors.cc
r83f349c r1e6734 361 361 // containers for all upcoming results 362 362 PolyMinorValue theMinor; 363 poly po ;363 poly po = NULL; 364 364 ideal iii = idInit(1, 0); 365 365 … … 376 376 totalAdditionsAccumulated += theMinor.getAccumulatedAdditions(); 377 377 totalAdditions += theMinor.getAdditions(); 378 idInsertPoly(iii, p o); // will include po only if it is not the zero polynomial378 idInsertPoly(iii, pCopy(po)); // will include po only if it is not the zero polynomial 379 379 } 380 380 } … … 394 394 totalAdditionsAccumulated += theMinor.getAccumulatedAdditions(); 395 395 totalAdditions += theMinor.getAdditions(); 396 idInsertPoly(iii, p o); // will include po only if it is not the zero polynomial396 idInsertPoly(iii, pCopy(po)); // will include po only if it is not the zero polynomial 397 397 } 398 398 } 399 399 idSkipZeroes(iii); // remove zero generators (resulting from block-wise allocation of memory) 400 401 400 PrintLn(); PrintS("numbers of performed operations"); 402 401 PrintLn(); PrintS(" polynomial-to-polynomial multiplications: "); … … 409 408 sprintf(h, "%d", totalAdditionsAccumulated); PrintS(h); PrintS(")"); 410 409 PrintLn(); PrintLn(); 411 412 410 return iii; 413 411 } -
Singular/extra.cc
r83f349c r1e6734 2197 2197 (h->next->next->next->next->next->next->Typ() == INT_CMD) && 2198 2198 (h->next->next->next->next->next->next->next->Typ() == INT_CMD) && 2199 (h->next->next->next->next->next->next->next->next == NULL)) 2199 (h->next->next->next->next->next->next->next->next->Typ() == INT_CMD) && 2200 (h->next->next->next->next->next->next->next->next->next == NULL)) 2200 2201 { 2201 2202 const matrix m = (const matrix)h->Data();
Note: See TracChangeset
for help on using the changeset viewer.