Skip to content

Commit

Permalink
Silence a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbates committed Mar 16, 2018
1 parent 85532bb commit 4e64ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rmath.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function check_rmath(fname, statsfun, rmathfun, params, aname, a, isprob, rtol)
end

get_statsfun(fname) = eval(Symbol(fname))
get_rmathfun(fname) = eval(parse(string("RFunctions.", fname)))
get_rmathfun(fname) = eval(Compat.Meta.parse(string("RFunctions.", fname)))

function rmathcomp(basename, params, X::AbstractArray, rtol=100eps(float(one(eltype(X)))))
pdf = string(basename, "pdf")
Expand Down

0 comments on commit 4e64ac8

Please sign in to comment.