Skip to content

Commit b54d087

Browse files
author
Sathvik Bhagavan
committed
fix: parameters are vector of Num instead of vector of pairs
1 parent f043319 commit b54d087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/pde/pdesystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ struct PDESystem <: ModelingToolkit.AbstractMultivariateSystem
113113
if isnothing(analytic_func)
114114
analytic_func = map(analytic) do eq
115115
args = arguments(eq.lhs)
116-
p = ps isa SciMLBase.NullParameters ? [] : map(a -> a.first, ps)
116+
p = ps isa SciMLBase.NullParameters ? [] : ps
117117
args = vcat(DestructuredArgs(p), args)
118118
ex = Func(args, [], eq.rhs) |> toexpr
119119
eq.lhs => drop_expr(@RuntimeGeneratedFunction(eval_module, ex))

0 commit comments

Comments
 (0)