Skip to content

Commit

Permalink
typo in make new variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Datseris committed Feb 26, 2024
1 parent 1ab6ccf commit dfdbf23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ end
new_derived_named_parameter(variable, value, extra::String, suffix = true)
If `value isa Num` return `value`.
If `value isa `[`LiteralParameter`](@ref), replace it with its literal value.
If `value isa LiteralParameter`, replace it with its literal value.
Otherwise, create a new MTK `@parameter`
whose name is created from `variable` by adding the `extra` string.
If `suffix == true` the extra is added at the end after a `_`. Otherwise
whose name is created from `variable` (which could also be just a `Symbol`) by adding the `extra` string.
If `suffix == true` the `extra` is added at the end after a `_`. Otherwise
it is added at the start, then a `_` and then the variable name.
For example,
Expand Down

0 comments on commit dfdbf23

Please sign in to comment.