Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit fa4c2d2

Browse files
author
Matthias Koeppe
committed
Whitespace fixes
1 parent 44cde1e commit fa4c2d2

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/sage/geometry/cone.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,6 @@ def relative_interior(self):
18301830
2-d cone in 2-d lattice N
18311831
sage: K2.relative_interior() is K2
18321832
True
1833-
18341833
"""
18351834
if self.is_relatively_open():
18361835
return self
@@ -4730,7 +4729,6 @@ def lineality(self):
47304729
return self.linear_subspace().dimension()
47314730

47324731
def is_relatively_open(self):
4733-
47344732
r"""
47354733
Return whether ``self`` is relatively open.
47364734
@@ -4748,7 +4746,6 @@ def is_relatively_open(self):
47484746
1-d cone in 2-d lattice N
47494747
sage: K1.is_relatively_open()
47504748
True
4751-
47524749
"""
47534750
return self.lineality() == self.dim()
47544751

src/sage/geometry/relative_interior.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
from sage.structure.sage_object import SageObject
1616

17-
class RelativeInterior(SageObject):
1817

18+
class RelativeInterior(SageObject):
1919
r"""
2020
The relative interior of a polyhedron or cone
2121
@@ -34,7 +34,6 @@ class RelativeInterior(SageObject):
3434
sage: octant = Cone([(1,0,0), (0,1,0), (0,0,1)])
3535
sage: octant.relative_interior()
3636
Relative interior of 3-d cone in 3-d lattice N
37-
3837
"""
3938

4039
def __init__(self, polyhedron):
@@ -51,7 +50,6 @@ def __init__(self, polyhedron):
5150
sage: P = Polyhedron()
5251
sage: from sage.geometry.relative_interior import RelativeInterior
5352
sage: TestSuite(RelativeInterior(P)).run()
54-
5553
"""
5654
self._polyhedron = polyhedron
5755

@@ -121,7 +119,6 @@ def closure(self):
121119
a 1-dimensional polyhedron in ZZ^2 defined as the convex hull of 2 vertices
122120
sage: ri_segment.closure() is segment
123121
True
124-
125122
"""
126123
return self._polyhedron
127124

@@ -169,7 +166,6 @@ def __eq__(self, other):
169166
sage: empty = Polyhedron(ambient_dim=2)
170167
sage: ri_segment == empty
171168
False
172-
173169
"""
174170
if type(self) != type(other):
175171
return False
@@ -195,6 +191,5 @@ def __ne__(self, other):
195191
a 1-dimensional polyhedron in AA^2 defined as the convex hull of 2 vertices
196192
sage: ri_segment != ri_segment2
197193
False
198-
199194
"""
200195
return not (self == other)

0 commit comments

Comments
 (0)