Skip to content

Commit 3985596

Browse files
committed
refactor: Blocks/math.jl
1 parent 1a22c77 commit 3985596

File tree

4 files changed

+141
-117
lines changed

4 files changed

+141
-117
lines changed

src/Blocks/analysis_points.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ See also [`get_sensitivity`](@ref), [`get_comp_sensitivity`](@ref), [`get_looptr
4646
```julia
4747
using ModelingToolkitStandardLibrary.Blocks
4848
@named P = FirstOrder(k = 1, T = 1)
49-
@named C = Gain(-1)
49+
@named C = Gain(; k = -1)
5050
t = ModelingToolkit.get_iv(P)
5151
eqs = [connect(P.output, C.input)
5252
connect(C.output, :plant_input, P.input)]

0 commit comments

Comments
 (0)