Skip to content

Commit b12c854

Browse files
authored
Merge pull request #764 from SciML/s/new-build_function
WIP: build_function rewrite
2 parents d26d308 + b0a6779 commit b12c854

13 files changed

+213
-391
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ NaNMath = "0.3"
5252
RecursiveArrayTools = "2.3"
5353
Reexport = "0.2, 1"
5454
Requires = "1.0"
55-
RuntimeGeneratedFunctions = "0.4, 0.5"
55+
RuntimeGeneratedFunctions = "0.4.3, 0.5"
5656
SafeTestsets = "0.0.1"
5757
SciMLBase = "1.3"
5858
Setfield = "0.7"
5959
SpecialFunctions = "0.7, 0.8, 0.9, 0.10, 1.0"
6060
StaticArrays = "0.10, 0.11, 0.12, 1.0"
61-
SymbolicUtils = "0.7.4, 0.8"
61+
SymbolicUtils = "0.8"
6262
TreeViews = "0.3"
6363
UnPack = "0.1, 1.0"
6464
Unitful = "1.1"

src/ModelingToolkit.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ import SymbolicUtils: Term, Add, Mul, Pow, Sym, FnType,
2929
@rule, Rewriters, substitute, similarterm,
3030
promote_symtype
3131

32+
import SymbolicUtils.Code: toexpr
33+
3234
import SymbolicUtils.Rewriters: Chain, Postwalk, Prewalk, Fixpoint
3335
import DiffEqBase: @add_kwonly
3436
using LinearAlgebra: LU, BlasInt

0 commit comments

Comments
 (0)