Skip to content

Commit

Permalink
replaced warn to @warn in LambertW.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
jlapeyre committed Aug 16, 2018
1 parent 0ddae35 commit a9f7a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LambertW.jl
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function lambertw_root_finding(z::T, x0::T, maxits) where T <: Number
lastx = x
lastdiff = xdiff
end
converged || warn("lambertw with z=", z, " did not converge in ", maxits, " iterations.")
converged || @warn("lambertw with z=", z, " did not converge in ", maxits, " iterations.")
return x
end

Expand Down

0 comments on commit a9f7a7b

Please sign in to comment.