Skip to content

Commit

Permalink
Use correct loglevel. Fixes #44
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Jan 2, 2021
1 parent bbd70b2 commit ba75d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hyperopt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function macrobody(ex, params, candidates, sampler)
for $(Expr(:tuple, esc.(params)...)) = ho
res = $(esc(ex.args[2])) # ex.args[2] = Body of the For loop
push!(ho.results, res)
Base.CoreLogging.@logmsg -1 "Hyperopt" progress=$(esc(params[1]))/ho.iterations _id=id
Base.CoreLogging.@logmsg Base.CoreLogging.BelowMinLevel "Hyperopt" progress=$(esc(params[1]))/ho.iterations _id=id
end
end
ho
Expand Down

0 comments on commit ba75d01

Please sign in to comment.