Skip to content

Commit 095ab3a

Browse files
committed
docs: update docs
1 parent bca35ac commit 095ab3a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
1515
[compat]
1616
Documenter = "1.3"
1717
Lux = "1"
18-
ModelingToolkit = "9.9"
19-
ModelingToolkitNeuralNets = "1"
18+
ModelingToolkit = "10"
19+
ModelingToolkitNeuralNets = "2"
2020
ModelingToolkitStandardLibrary = "2.7"
2121
Optimization = "3.24, 4.0"
2222
OptimizationOptimisers = "0.2.1, 0.3"
@@ -27,4 +27,4 @@ StableRNGs = "1"
2727
SymbolicIndexingInterface = "0.3.15"
2828

2929
[sources]
30-
ModelingToolkitNeuralNets = { path = ".." }
30+
ModelingToolkitNeuralNets = {path = ".."}

docs/src/friction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function friction_true()
4949
eqs = [
5050
Dt(y) ~ Fu - friction(y)
5151
]
52-
return ODESystem(eqs, t, name = :friction_true)
52+
return System(eqs, t, name = :friction_true)
5353
end
5454
```
5555

@@ -85,7 +85,7 @@ function friction_ude(Fu)
8585
@named nn_out = RealOutputArray(nout = 1)
8686
eqs = [Dt(y) ~ Fu - nn_in.u[1]
8787
y ~ nn_out.u[1]]
88-
return ODESystem(eqs, t, name = :friction, systems = [nn_in, nn_out])
88+
return System(eqs, t, name = :friction, systems = [nn_in, nn_out])
8989
end
9090
9191
Fu = 120.0

0 commit comments

Comments
 (0)