Skip to content

Commit abc2feb

Browse files
committed
suggested fixes
1 parent d4ffc89 commit abc2feb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/sage/crypto/boolean_function.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ cdef class BooleanFunction(SageObject):
10511051
else:
10521052
res = None
10531053

1054-
return res, len(kg) if dim else res
1054+
return (res, len(kg)) if dim else res
10551055

10561056
def algebraic_immunity(self, annihilator=False):
10571057
"""

src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx

+8-8
Original file line numberDiff line numberDiff line change
@@ -1467,14 +1467,14 @@ cdef class CombinatorialPolyhedron(SageObject):
14671467

14681468
if add_equations and names:
14691469
return tuple(
1470-
((f(self._ridges.get(i).first),) + self.equations(),
1471-
(f(self._ridges.get(i).second),) + self.equations())
1472-
for i in range(n_ridges))
1473-
else:
1474-
return tuple(
1475-
(f(self._ridges.get(i).first),
1476-
f(self._ridges.get(i).second))
1477-
for i in range(n_ridges))
1470+
((f(self._ridges.get(i).first),) + self.equations(),
1471+
(f(self._ridges.get(i).second),) + self.equations())
1472+
for i in range(n_ridges))
1473+
1474+
return tuple(
1475+
(f(self._ridges.get(i).first),
1476+
f(self._ridges.get(i).second))
1477+
for i in range(n_ridges))
14781478

14791479
@cached_method
14801480
def facet_adjacency_matrix(self, algorithm=None):

0 commit comments

Comments
 (0)