Skip to content

Commit

Permalink
fixed incorrect usage of haskey for MvHistory in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
torfjelde committed Oct 4, 2023
1 parent fca3ac5 commit 599e147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_hparams.jl
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ end
@info "x" val=3.0
end
hist = convert(MVHistory, lg)
@test haskey(hist, "x/val")
end
@test haskey(hist, Symbol("x/val"))
end

0 comments on commit 599e147

Please sign in to comment.