-
Notifications
You must be signed in to change notification settings - Fork 54
Fix printing log function for numeric solver expressions #1250
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
base: master
Are you sure you want to change the base?
Conversation
|
Either |
The model has an When the solver returned by the ode-toolbox is |
The predefined functions
ln()andlog(), when used in theequationsblock in the ODEs, result in a compilation error when a numeric solver is selected.Currently, the
ln()function is passed aslog()to the ode-toolbox, which results in the error. According to the sympy docs,loghas an aliasln(). Thus, replacinglogwithlnin the ode-toolbox printer fixes the error.