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

Commit

Permalink
Trac #32921: use assert really as statement...
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Lipnik committed Jan 19, 2022
1 parent b674000 commit df04b44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/combinat/k_regular_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -2331,9 +2331,9 @@ def shifted_inhomogeneities(self, recurrence_rules):
current_row += S_b.mu[0].ncols()

CR = self.coefficient_ring
assert(all([S[0].left[0] == CR(1) for S in shifted_inhomogeneities.values()]) and
all([all(a == CR(0) for a in S[0].left[1:])
for S in shifted_inhomogeneities.values()]))
assert (all([S[0].left[0] == CR(1) for S in shifted_inhomogeneities.values()]) and
all([all(a == CR(0) for a in S[0].left[1:])
for S in shifted_inhomogeneities.values()]))

return shifted_inhomogeneities

Expand Down

0 comments on commit df04b44

Please sign in to comment.