Skip to content

Commit 24b7a01

Browse files
committed
Use BaseCompiler.jl
1 parent 7ab8fbd commit 24b7a01

File tree

4 files changed

+45
-44
lines changed

4 files changed

+45
-44
lines changed

Manifest.toml

Lines changed: 39 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Project.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ Tracy = "e689c965-62c8-4b79-b2c5-8359227902fd"
4444
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
4545

4646
[sources]
47+
Compiler = {rev = "master", url = "[email protected]:JuliaLang/BaseCompiler.jl.git"}
48+
Cthulhu = {rev = "master", url = "https://github.com/JuliaDebug/Cthulhu.jl.git"}
4749
DifferentiationInterface = {rev = "main", subdir = "DifferentiationInterface", url = "https://github.com/Keno/DifferentiationInterface.jl#main"}
50+
Diffractor = {rev = "main", url = "https://github.com/JuliaDiff/Diffractor.jl.git"}
4851
SimpleNonlinearSolve = {rev = "master", subdir = "lib/SimpleNonlinearSolve", url = "https://github.com/SciML/NonlinearSolve.jl.git"}
4952
StateSelection = {rev = "main", url = "https://github.com/JuliaComputing/StateSelection.jl.git"}
5053

@@ -54,7 +57,7 @@ AutoHashEquals = "2.2.0"
5457
CentralizedCaches = "1.1.0"
5558
ChainRules = "1.50"
5659
ChainRulesCore = "1.20"
57-
Compiler = ">= 0.0.1"
60+
Compiler = "0"
5861
DiffEqBase = "6.149.2"
5962
DifferentiationInterface = "0.6.52"
6063
Diffractor = "0.2.7"

src/transform/codegen/dae_factory.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function make_daefunction(f)
4141
end
4242

4343
function make_daefunction(f, initf)
44-
DAEFunction(f; initialization_data = SciMLBase.OverrideInitData(NonlinearProblem((args...)->nothing, nothing, nothing), nothing, initf, nothing, nothing))
44+
DAEFunction(f; initialization_data = SciMLBase.OverrideInitData(NonlinearProblem((args...)->nothing, nothing, nothing), nothing, initf, nothing, nothing, Val{false}()))
4545
end
4646

4747
"""

src/transform/codegen/ode_factory.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function make_odefunction(f, mass_matrix = LinearAlgebra.I, initf = nothing)
3333
end
3434

3535
function initialization_data_ode(initf)
36-
return SciMLBase.OverrideInitData(NonlinearProblem((args...)->nothing, nothing, nothing), nothing, initf, nothing, nothing)
36+
return SciMLBase.OverrideInitData(NonlinearProblem((args...)->nothing, nothing, nothing), nothing, initf, nothing, nothing, Val{false}())
3737
end
3838

3939
"""

0 commit comments

Comments
 (0)