Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
two minor details

Co-authored-by: Matthias Köppe <[email protected]>
  • Loading branch information
fchapoton and mkoeppe authored May 12, 2024
1 parent debb417 commit 9ec8971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sage/algebras/fusion_rings/f_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ class methods.
self._reset_solver_state()
# Set up shared memory resource handlers
n_proc = cpu_count() if processes is None else processes
self._pid_list = shared_memory.ShareableList([0] * (n_proc + 1))
self._pid_list = shared_memory.ShareableList([0] * (n_proc+1))
pids_name = self._pid_list.shm.name
self._solved = shared_memory.ShareableList(self._solved)
s_name = self._solved.shm.name
Expand Down
2 changes: 1 addition & 1 deletion src/sage/algebras/steenrod/steenrod_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def __init__(self, p=2, basis='milnor', **kwds):
base_ring = GF(p)
self._profile = profile
self._truncation_type = truncation_type
if ((not self._generic and (profile and profile[0] < Infinity))
if ((not self._generic and profile and profile[0] < Infinity)
or (self._generic and profile != ((), ()) and profile[0]
and profile[0][0] < Infinity)
or (truncation_type < Infinity)):
Expand Down

0 comments on commit 9ec8971

Please sign in to comment.