Skip to content

Commit a9aadde

Browse files
committed
Adapt docs
1 parent 79396c0 commit a9aadde

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/src/Internal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This section provides functions to **generate Julia code** of the
99
transformed equations.
1010

1111
```@meta
12-
CurrentModule = ModiaLang
12+
CurrentModule = Modia
1313
```
1414

1515
```@docs

docs/src/tutorial/Modeling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ testArray1 = @instantiateModel(TestArray1, logCode=true)
513513
Note, the generated code is shown in the REPL if `logCode=true` is defined:
514514

515515
```julia
516-
function getDerivatives(_x, _m::ModiaLang.SimulationModel{_FloatType,_TimeType} ...
516+
function getDerivatives(_x, _m::Modia.SimulationModel{_FloatType,_TimeType} ...
517517
...
518518
v::ModiaBase.SVector{3,_FloatType} = ModiaBase.SVector{3,_FloatType}(_x[1:3])
519519
var"der(v)" = -v

docs/src/tutorial/Simulation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ code = quote
331331
var"der(w1)" = var"der(der(phi1))"
332332
tau1 = -((_FloatType(_p[:J1])::_FloatType * var"der(w1)" - tau))
333333
tau2 = _FloatType(_p[:ratio])::_FloatType * tau1
334-
ModiaBase.appendVariable!(_leq_mode.residuals, ModiaLang.Unitful.ustrip.(tau2) .- ModiaLang.Unitful.ustrip.(_FloatType(_p[:J2])::_FloatType * var"der(w2)"))
334+
ModiaBase.appendVariable!(_leq_mode.residuals, Modia.Unitful.ustrip.(tau2) .- Modia.Unitful.ustrip.(_FloatType(_p[:J2])::_FloatType * var"der(w2)"))
335335
end
336336
_leq_mode = nothing
337337
end

0 commit comments

Comments
 (0)