Test TOPCOM 1.2.0e build#4166
Draft
d-torrance wants to merge 2 commits intoMacaulay2:developmentfrom
Draft
Conversation
Member
Author
|
A bunch of example errors with the new version: -- -*- M2-comint -*- hash: 2822175703130288887
i1 : A = matrix {{0, 1, 2, 3, 4, 5, 6}, {0, 1, 4, 9, 16, 25, 36}, {0, 1, 8, 27, 64, 125, 216}}
o1 = | 0 1 2 3 4 5 6 |
| 0 1 4 9 16 25 36 |
| 0 1 8 27 64 125 216 |
3 7
o1 : Matrix ZZ <-- ZZ
i2 : tri = topcomRegularFineTriangulation A
o2 = {{0, 1, 2, 3}, {0, 1, 3, 4}, {0, 1, 4, 5}, {0, 1, 5, 6}, {1, 2, 3, 4},
------------------------------------------------------------------------
{1, 2, 4, 5}, {1, 2, 5, 6}, {2, 3, 4, 5}, {2, 3, 5, 6}, {3, 4, 5, 6}}
o2 : List
i3 : assert topcomIsTriangulation(A, tri)
i4 : assert topcomIsRegularTriangulation(A, tri)
stdio:4:6:(3):[1]: error: assertion failed
-- -*- M2-comint -*- hash: 3492680710346930784
i1 : A = transpose matrix {{0,3},{0,1},{-1,-1},{1,-1},{-4,-2},{4,-2}}
o1 = | 0 0 -1 1 -4 4 |
| 3 1 -1 -1 -2 -2 |
2 6
o1 : Matrix ZZ <-- ZZ
i2 : Ts = topcomAllTriangulations A;
currentString:1:9:(3):[6]: error: no method for binary operator : applied to objects:
triangID (of class Symbol)
: 0 (of class ZZ)
-- -*- M2-comint -*- hash: 11000150122392902197
i1 : sq = transpose matrix {{-1,-1},{-1,1},{1,-1},{1,1},{0,0},{1,0},{-1,0},{0,1},{0,-1}}
o1 = | -1 -1 1 1 0 1 -1 0 0 |
| -1 1 -1 1 0 0 0 1 -1 |
2 9
o1 : Matrix ZZ <-- ZZ
i2 : tri = topcomRegularFineTriangulation sq
o2 = {{0, 4, 6}, {0, 4, 8}, {1, 4, 6}, {1, 4, 7}, {2, 4, 5}, {2, 4, 8}, {3,
------------------------------------------------------------------------
4, 5}, {3, 4, 7}}
o2 : List
i3 : topcomIsTriangulation(sq, tri)
o3 = true
i4 : topcomIsRegularTriangulation(sq, tri)
o4 = false
i5 : topcomRegularTriangulationWeights(sq, tri)
stdio:5:33:(3):[1]: error: array index 0 out of bounds 0 .. -1
-- -*- M2-comint -*- hash: 16885656556951738549
i1 : A = transpose matrix {{0,3},{0,1},{-1,-1},{1,-1},{-4,-2},{4,-2}}
o1 = | 0 0 -1 1 -4 4 |
| 3 1 -1 -1 -2 -2 |
2 6
o1 : Matrix ZZ <-- ZZ
i2 : topcomNumTriangulations A == 16
o2 = true
i3 : topcomNumTriangulations A == # topcomAllTriangulations A
currentString:1:9:(3):[6]: error: no method for binary operator : applied to objects:
triangID (of class Symbol)
: 0 (of class ZZ)
-- -*- M2-comint -*- hash: 15524050873924267096
i1 : A = matrix {
{0, -1, 2, 3, 4, -5, 6},
{0, 1, -4, 9, 16, 25, 36},
{0, 1, 8, -27, 64, 125, -216}}
o1 = | 0 -1 2 3 4 -5 6 |
| 0 1 -4 9 16 25 36 |
| 0 1 8 -27 64 125 -216 |
3 7
o1 : Matrix ZZ <-- ZZ
i2 : Ts = topcomAllTriangulations A;
currentString:1:9:(3):[6]: error: no method for binary operator : applied to objects:
triangID (of class Symbol)
: 0 (of class ZZ) |
Member
|
I'll take a look. We definitely want to take the latest version. It has some important bug fixes, if I'm not mistaken. |
Member
Author
|
I took a look at the But now, that string isn't there. In fact, I'm not sure how to tell the difference at all. Here are two examples taken from the package tests (with i5 : A = transpose matrix {{-1,-1,1},{-1,1,1},{1,-1,1},{1,1,1},{0,0,1}}
o5 = | -1 -1 1 1 0 |
| -1 1 -1 1 0 |
| 1 1 1 1 1 |
3 5
o5 : Matrix ZZ <-- ZZ
i6 : tri = {{0, 2, 4}, {2, 3, 4}, {0, 1, 4}, {1, 3, 4}}
o6 = {{0, 2, 4}, {2, 3, 4}, {0, 1, 4}, {1, 3, 4}}
o6 : List
i7 : topcomIsRegularTriangulation(A,tri)
-- calling topcom
-- checkregularity --checktriang --memopt -v: using temporary file prefix /tmp/M2-406867-0/0
-- checkregularity --checktriang --memopt -v: input = [[-1, -1, 1, 1], [-1, 1, 1, 1], [1, -1, 1, 1], [1, 1, 1, 1], [0, 0, 1, 1]]
[]
{{0, 2, 4}, {2, 3, 4}, {0, 1, 4}, {1, 3, 4}}
-- checkregularity --checktriang --memopt -v: executing ~/src/macaulay2/M2/M2/BUILD/build/usr-host/bin/checkregularity --checktriang --memopt -v < /tmp/M2-406867-0/0.in
-- checkregularity --checktriang --memopt -v: output =
-- checkregularity --checktriang --memopt -v: stderr =
==================================================================
--------------------- topcom version 1.2.0e -----------------------
Triangulations of Point Configurations and Oriented Matroids
------------------------ by Joerg Rambau -------------------------
==================================================================
Evaluating Commandline Options ...
--checktriang : check seed triangulation activated
--memopt : higher memory efficiency activated
-v : verbose output activated
... done.
------------------------------------------------------------------
checking regularity of triangulations
TOPCOM client: /home/dtorrance/src/macaulay2/M2/M2/BUILD/build/usr-host/bin/checkregularity
------------------------------------------------------------------
checking for points ...
point configuration has 4 rows of rank 3
resulting no of rows after transformation: 3
read point configuration with 5 points in rank 3
checking for symmetries ...
read 0 generators for symmetries
... found 0 symmetries without identity
... generated symmetry group of order 1
... done.
checking for required symmetries for triangulations ...
required symmetry generators ignored.
... done.
checking for seed triangulation ...
... no non-empty seed given ...
... done.
no triangulation found - check done.
o7 = false
i8 : A = transpose matrix {{0,3},{0,1},{-1,-1},{1,-1},{-4,-2},{4,-2}}
o8 = | 0 0 -1 1 -4 4 |
| 3 1 -1 -1 -2 -2 |
2 6
o8 : Matrix ZZ <-- ZZ
i9 : tri = {{0,1,2}, {1,3,5}, {2,3,4},
{0,1,5}, {0,2,4}, {3,4,5},
{1,2,3}}
o9 = {{0, 1, 2}, {1, 3, 5}, {2, 3, 4}, {0, 1, 5}, {0, 2, 4}, {3, 4, 5}, {1, 2, 3}}
o9 : List
i10 : topcomIsRegularTriangulation(A,tri)
-- calling topcom
-- checkregularity --checktriang --memopt -v: using temporary file prefix /tmp/M2-406867-0/2
-- checkregularity --checktriang --memopt -v: input = [[0, 3, 1], [0, 1, 1], [-1, -1, 1], [1, -1, 1], [-4, -2, 1], [4, -2, 1]]
[]
{{0, 1, 2}, {1, 3, 5}, {2, 3, 4}, {0, 1, 5}, {0, 2, 4}, {3, 4, 5}, {1, 2, 3}}
-- checkregularity --checktriang --memopt -v: executing ~/src/macaulay2/M2/M2/BUILD/build/usr-host/bin/checkregularity --checktriang --memopt -v < /tmp/M2-406867-0/2.in
-- checkregularity --checktriang --memopt -v: output =
-- checkregularity --checktriang --memopt -v: stderr =
==================================================================
--------------------- topcom version 1.2.0e -----------------------
Triangulations of Point Configurations and Oriented Matroids
------------------------ by Joerg Rambau -------------------------
==================================================================
Evaluating Commandline Options ...
--checktriang : check seed triangulation activated
--memopt : higher memory efficiency activated
-v : verbose output activated
... done.
------------------------------------------------------------------
checking regularity of triangulations
TOPCOM client: /home/dtorrance/src/macaulay2/M2/M2/BUILD/build/usr-host/bin/checkregularity
------------------------------------------------------------------
checking for points ...
read point configuration with 6 points in rank 3
checking for symmetries ...
read 0 generators for symmetries
... found 0 symmetries without identity
... generated symmetry group of order 1
... done.
checking for required symmetries for triangulations ...
required symmetry generators ignored.
... done.
checking for seed triangulation ...
... no non-empty seed given ...
... done.
no triangulation found - check done.
o10 = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TOPCOM 1.2.0c was released recently. It's a preview release ahead of 1.2.0. I suppose we should wait until 1.2.0 to actually update it, but it would be good to make sure that nothing breaks.