Skip to content

Commit

Permalink
Fix remainder logic reversal
Browse files Browse the repository at this point in the history
Signed-off-by: Emanuele Ballarin <[email protected]>
  • Loading branch information
emaballarin committed Jun 14, 2024
1 parent 9d8e84e commit e7eaa07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ebtorch/nn/convstems.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def __init__(
super().__init__()

sassert(
bool(embed_dim % embed_init_compr),
not (embed_dim % embed_init_compr),
"ConvStem only supports `embed_dim` divisible by `embed_init_compr`",
)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def read(fname):

setup(
name=PACKAGENAME,
version="0.25.3",
version="0.25.4",
author="Emanuele Ballarin",
author_email="[email protected]",
url="https://github.com/emaballarin/ebtorch",
Expand Down

0 comments on commit e7eaa07

Please sign in to comment.