Changeset 1a596a in git
- Timestamp:
- Aug 9, 2016, 3:38:06 PM (8 years ago)
- Branches:
- (u'spielwiese', '52dcfddee5ec87d404d5e0fb44f2d627608208f1')
- Children:
- 0e98e835cec13c245dc5653aedf074d35477e9db9a0f21549aaff59eeb1077af356c1ec510c059e4
- Parents:
- 7436e955ac75fa53219a330142e7392eaaf7ad7276d8bbc9d35560c2f67214595f461e2312075b5e
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2016-08-09 15:38:06+02:00
- git-committer:
- GitHub <noreply@github.com>2016-08-09 15:38:06+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/dyn_modules/gfanlib/tropical.cc
r7436e9 r1a596a 300 300 for (int i=0; i<IDELEMS(I); i++) 301 301 { 302 g = (poly) I->m[i]; pGetExpV(g,leadexpv); 303 leadexpw = intStar2ZVector(n, leadexpv); 304 pIter(g); 305 while (g != NULL) 306 { 307 pGetExpV(g,tailexpv); 308 tailexpw = intStar2ZVector(n, tailexpv); 309 inequalities.appendRow(leadexpw-tailexpw); 302 g = (poly) I->m[i]; 303 if (g != NULL && pNext(g) != NULL) 304 { 305 pGetExpV(g,leadexpv); 306 leadexpw = intStar2ZVector(n, leadexpv); 310 307 pIter(g); 308 while (g != NULL) 309 { 310 pGetExpV(g,tailexpv); 311 tailexpw = intStar2ZVector(n, tailexpv); 312 inequalities.appendRow(leadexpw-tailexpw); 313 pIter(g); 314 } 311 315 } 312 316 }
Note: See TracChangeset
for help on using the changeset viewer.