Skip to content

Commit a69cabd

Browse files
committed
Fix the tests
1 parent 931ed17 commit a69cabd

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/sage/geometry/triangulation/point_configuration.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,20 +2073,20 @@ def Gale_transform(self, points=None, homogenize=True):
20732073
20742074
sage: pc2 = PointConfiguration([[0,0],[3,0],[0,3],[3,3],[1,1]])
20752075
sage: pc2.Gale_transform(homogenize=False)
2076-
[-1 0 0 0 0]
2077-
[ 0 1 1 -1 0]
2076+
[ 1 0 0 0 0]
20782077
[ 0 1 1 0 -3]
2078+
[ 0 0 0 1 -3]
20792079
sage: pc2.Gale_transform(homogenize=True)
20802080
[ 1 1 1 0 -3]
20812081
[ 0 2 2 -1 -3]
20822082
2083-
It might not affect the dimension of the result::
2083+
It might not affect the result (when acyclic)::
20842084
20852085
sage: PC = PointConfiguration([[4,0,0],[0,4,0],[0,0,4],[2,1,1],[1,2,1],[1,1,2]])
20862086
sage: GT = PC.Gale_transform(homogenize=False);GT
2087-
[ 2 1 1 -4 0 0]
2088-
[ 1 2 1 0 -4 0]
2089-
[-2 -2 -1 3 3 -1]
2087+
[ 1 0 0 -3 1 1]
2088+
[ 0 1 0 1 -3 1]
2089+
[ 0 0 1 1 1 -3]
20902090
sage: GT = PC.Gale_transform(homogenize=True);GT
20912091
[ 1 0 0 -3 1 1]
20922092
[ 0 1 0 1 -3 1]
@@ -2103,10 +2103,10 @@ def Gale_transform(self, points=None, homogenize=True):
21032103
[ 0 1 0 -1 1 -1 0]
21042104
[ 0 0 1 -1 0 -1 1]
21052105
sage: g_inhom = pc3.Gale_transform(homogenize=False);g_inhom
2106-
[-1 1 1 1 0 0 0]
2107-
[ 0 1 0 0 1 0 0]
2108-
[ 1 -1 -1 0 0 1 0]
2109-
[ 0 0 1 0 0 0 1]
2106+
[1 0 0 0 1 1 1]
2107+
[0 1 0 0 1 0 0]
2108+
[0 0 1 0 0 0 1]
2109+
[0 0 0 1 0 1 0]
21102110
sage: Polyhedron(rays=g_hom.columns())
21112111
A 3-dimensional polyhedron in ZZ^3 defined as the convex hull of 1 vertex and 3 lines
21122112
sage: Polyhedron(rays=g_inhom.columns())
@@ -2175,7 +2175,7 @@ def deformation_cone(self, collection):
21752175
21762176
sage: epsilon = 0
21772177
sage: m = mother(0)
2178-
sage: mother.points()
2178+
sage: m.points()
21792179
(P(4, 0, 0), P(0, 4, 0), P(0, 0, 4), P(2, 1, 1), P(1, 2, 1), P(1, 1, 2))
21802180
sage: S1 = [(0,1,4),(0,3,4),(1,2,5),(1,4,5),(0,2,3),(2,3,5)]
21812181
sage: S2 = [(0,1,3),(1,3,4),(1,2,4),(2,4,5),(0,2,5),(0,3,5)]

0 commit comments

Comments
 (0)