Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
fxmarty committed Feb 19, 2024
1 parent 3aa5a05 commit ca3de38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marlin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __init__(self, infeatures, outfeatures, groupsize=-1):
super().__init__()
if groupsize not in [-1, 128]:
raise ValueError('Only groupsize -1 and 128 are supported.')
if infeatures % 128 != 0 or outfeatures != 256 == 0:
if infeatures % 128 != 0 or outfeatures % 256 != 0:
raise ValueError('`infeatures` must be divisible by 128 and `outfeatures` by 256.')
if groupsize == -1:
groupsize = infeatures
Expand Down

0 comments on commit ca3de38

Please sign in to comment.