JuliaMath / JuliaMath/Calculus.jl

Remove call to `eval` in `simplify`

Open
#111 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
285
Forks
78
PR merge metrics
No merged PRs in 30d

Description

I have some code where I want to use Calculus.jl to differentiate symbolic expressions inside a `@generated` function. This currently does not work because after differentiating Calculus.jl calls `simplify`, which in turn often ends up calling `eval`. As of right now `@generated` functions are not allowed to call eval.

I'm opening this issue to see if those who know the internals here better think it would be possible/feasible to remove the call to `eval` inside `simplify`?

ref: https://github.com/EconForge/Dolang/pull/31#issuecomment-307791343

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.