Skip to content

Commit 7e9e832

Browse files
Merge pull request #1462 from xtalax/pdesystem
Vectorize pdeeqs
2 parents 199e4c6 + cf6d805 commit 7e9e832

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ system:
136136
- Multi-package interface for numerical solving `OptimizationSystem`
137137
- [NeuralPDE.jl](https://github.com/SciML/NeuralPDE.jl)
138138
- Physics-Informed Neural Network (PINN) training on `PDESystem`
139-
- [DiffEqOperators.jl](https://github.com/SciML/DiffEqOperators.jl)
139+
- [MethodOfLines.jl](https://github.com/SciML/MethodOfLines.jl)
140140
- Automated finite difference method (FDM) discretization of `PDESystem`
141141

142142
## Contributing

src/systems/pde/pdesystem.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ struct PDESystem <: ModelingToolkit.AbstractMultivariateSystem
7070
if checks
7171
all_dimensionless([dvs;ivs;ps]) ||check_units(eqs)
7272
end
73+
eqs = eqs isa Vector ? eqs : [eqs]
7374
new(eqs, bcs, domain, ivs, dvs, ps, defaults, connector_type, name)
7475
end
7576
end

0 commit comments

Comments
 (0)