Skip to content

Commit

Permalink
poery update
Browse files Browse the repository at this point in the history
black formater
  • Loading branch information
Hananel-Hazan committed Feb 9, 2024
1 parent 761cbf0 commit 6ff31ed
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 28 deletions.
6 changes: 3 additions & 3 deletions bindsnet/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ def get_square_assignments(assignments: Tensor, n_sqrt: int) -> Tensor:
if not n < assignments.size(0):
break

square_assignments[
i : (i + 1), (j % n_sqrt) : ((j % n_sqrt) + 1)
] = assignments[n]
square_assignments[i : (i + 1), (j % n_sqrt) : ((j % n_sqrt) + 1)] = (
assignments[n]
)

return square_assignments

Expand Down
54 changes: 29 additions & 25 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6ff31ed

Please sign in to comment.