Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wesselb committed Sep 23, 2024
1 parent 699dda6 commit d1afde8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_checkpoint_adaptation.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ def test_adapt_checkpoint_max_history_twice(model, checkpoint):
assert weight.shape[2] == model.max_history_size
for j in range(weight.shape[2]):
if j >= checkpoint[name].shape[2]:
np.testing.assert_allcllose(weight[:, :, j, :, :], 0 * weight[:, :, j, :, :])
np.testing.assert_allclose(weight[:, :, j, :, :], 0 * weight[:, :, j, :, :])
else:
np.testing.assert_allclose(weight[:, :, j, :, :], checkpoint[name][:, :, j, :, :])

0 comments on commit d1afde8

Please sign in to comment.