Changeset ec80dd9 in git
- Timestamp:
- Nov 10, 2017, 2:33:53 PM (6 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
- Children:
- e15211f00c3feac6f7ff37e9a3cf5744fed00b56
- Parents:
- 1715602d17a9218dca6af50fee1160038d9649e2
- git-author:
- Andreas Steenpass <steenpass@mathematik.uni-kl.de>2017-11-10 14:33:53+01:00
- git-committer:
- Andreas Steenpass <steenpass@mathematik.uni-kl.de>2017-12-15 12:17:08+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/syz4.cc
r171560 rec80dd9 28 28 { 29 29 const ring R = currRing; 30 const int l = IDELEMS(L)-1;30 const int l = L->ncols-1; 31 31 int k; 32 32 for (int j = R->N; j > 0; j--) { … … 73 73 { 74 74 const ring R = currRing; 75 const int n_elems = IDELEMS(L);75 const int n_elems = L->ncols; 76 76 for (int k = 0; k < n_elems; k++) { 77 77 const poly a = L->m[k]; … … 262 262 const ring r = currRing; 263 263 int i, j; 264 int k = IDELEMS(id)-1;264 int k = id->ncols-1; 265 265 for (i = k; i >= 0; i--) { 266 266 for (j = k; j > i; j--) { … … 450 450 for (int i = G->ncols-2; i >= 0; i--) { 451 451 if (M[i] != NULL) { 452 omFreeSize(M[i]->m, IDELEMS(M[i])*sizeof(poly));452 omFreeSize(M[i]->m, M[i]->ncols*sizeof(poly)); 453 453 omFreeBin(M[i], sip_sideal_bin); 454 454 } 455 455 } 456 456 omFree(M); 457 qsort(frame->m, IDELEMS(frame), sizeof(poly), compare_Mi);457 qsort(frame->m, frame->ncols, sizeof(poly), compare_Mi); 458 458 return frame; 459 459 }
Note: See TracChangeset
for help on using the changeset viewer.