Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre and post treatment of expression when cse=True in lambdify #26463

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 10, 2024

  1. Fix cse treatment in lambdify with Derivatives

    Before, when there were Derivatives in expr ans args given to lambdify
    with cse enabled, there was an error because the cse treatment changed
    the arguments of the Derivative object.
    
    With this implementation, the expression is pre-treated by a function to
    mask the instances of Derivative objects, then the cse process is
    applied and finally we do a post-treatment to put back the Derivative
    expressions in expr.
    mleila1312 committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    5e97b9d View commit details
    Browse the repository at this point in the history