WARNING: eval from module Calculus to Derivatives:
Expr(:call, :/, 1, 2)::Any
** incremental compilation may be broken for this module **
WARNING: eval from module Calculus to Derivatives:
Expr(:call, :/, 1, 2)::Any
** incremental compilation may be broken for this module **
...
The easiest workaround I could find is to stop calling simplify() from differentiate(), so that differentiate() can be called from outside Calculus without warnings until simplify() is fixed.
The recent change (https://github.com/JuliaMath/Calculus.jl/commit/e71569d56f40daeb95cbb6454b512a26b149cab5#diff-5a6fead5de693e2e71f15ab0d20c177dL96) causes very verbose warnings when
simplify()
is called from another module. Whenever JuMP is precompiled it now printsThe easiest workaround I could find is to stop calling
simplify()
fromdifferentiate()
, so thatdifferentiate()
can be called from outside Calculus without warnings untilsimplify()
is fixed.https://github.com/JuliaOpt/JuMP.jl/issues/1299 https://github.com/mlubin/ReverseDiffSparse.jl/issues/50