Closed joehuchette closed 8 years ago
Probably a macro hygine issue. Will take a look.
ForwardDiff globally overrides iteration, which is a big no-no:
start(partials) = start(data(partials))
next(partials, i) = next(data(partials), i)
done(partials, i) = done(data(partials), i)
Also you can use Gallium.breakpoint_on_error to debug this ;).
Cool, thanks for the tip. cc @mlubin @jrevels
That's fixed but not tagged: https://github.com/JuliaDiff/ForwardDiff.jl/commit/5c5903fa5b6bd184d3da902ba3d0e71d134aaa83
Sorry for the uninformative title, but I can't wrap my head around this.
using
the ForwardDiff package seems to break ASTInterpreter completely:This is on ASTInterpreter/Gallium master (as of this morning), and ForwardDiff v0.1.6. Note that I don't see this behavior on ForwardDiff master. This doesn't happen for other modules I've tested, e.g. DataStructures.
Also, ForwardDiff has a
data
function, but it's not exported. I'm guessing this is the culprit somehow.