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

Commit

Permalink
backslash and alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Kliem committed May 12, 2020
1 parent f18fd2a commit 59dc074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/geometry/hyperplane_arrangement/arrangement.py
Original file line number Diff line number Diff line change
Expand Up @@ -1686,8 +1686,8 @@ def regions(self):
else:
# In this case, at least one of the vertices is not on the hyperplane.
# So we check if any ray or line pokes the hyperplane.
if any(ieq[1:]*r[:]*direction < 0 for r in region.rays()) or \
any(ieq[1:]*l[:] != 0 for l in region_lines):
if (any(ieq[1:]*r[:]*direction < 0 for r in region.rays()) or
any(ieq[1:]*l[:] != 0 for l in region_lines)):
splits = True

if splits:
Expand Down

0 comments on commit 59dc074

Please sign in to comment.