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

Commit

Permalink
HyperbolicGeodesic*: More @ instead of *
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jul 16, 2021
1 parent 1a6671f commit 2d8698f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/geometry/hyperbolic_space/hyperbolic_geodesic.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def is_ultra_parallel(self, other):

A = self.reflection_involution()
B = other.reflection_involution()
return (A * B).classification() == 'hyperbolic'
return (A @ B).classification() == 'hyperbolic'

def is_parallel(self, other):
r"""
Expand Down Expand Up @@ -615,7 +615,7 @@ def is_parallel(self, other):

A = self.reflection_involution()
B = other.reflection_involution()
return (A * B).classification() in ['parabolic', 'hyperbolic']
return (A @ B).classification() in ['parabolic', 'hyperbolic']

def ideal_endpoints(self):
r"""
Expand Down Expand Up @@ -1301,7 +1301,7 @@ def common_perpendicular(self, other):

A = self.reflection_involution()
B = other.reflection_involution()
C = A * B
C = A @ B
if C.classification() != 'hyperbolic':
raise ValueError("geodesics intersect; " +
"no common perpendicular exists")
Expand Down Expand Up @@ -1357,7 +1357,7 @@ def intersection(self, other):
return end_1
A = self.reflection_involution()
B = other.reflection_involution()
C = A * B
C = A @ B
if C.classification() in ['hyperbolic', 'parabolic']:
return []
return C.fixed_point_set()
Expand Down

0 comments on commit 2d8698f

Please sign in to comment.