Skip to content

Commit 4b195f5

Browse files
committed
address review
1 parent 95f608b commit 4b195f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/scimlfunctions.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ dt: the time step
948948
949949
```julia
950950
ImplicitDiscreteFunction{iip,specialize}(f;
951-
analytic = __has_analytic(f) ? f.analytic : nothing,
951+
analytic = __has_analytic(f) ? f.analytic : nothing,
952952
resid_prototype = __has_resid_prototype(f) ? f.resid_prototype : nothing)
953953
```
954954
@@ -2107,7 +2107,7 @@ A representation of a ODE function `f` with inputs, defined by:
21072107
```math
21082108
\frac{dx}{dt} = f(x, u, p, t)
21092109
```
2110-
where `x` are the states of the system and `u` are the inputs (which may represent
2110+
where `x` are the states of the system and `u` are the inputs (which may represent
21112111
different things in different contexts, such as control variables in optimal control).
21122112
21132113
Includes all of its related functions, such as the Jacobian of `f`, its gradient
@@ -2134,7 +2134,7 @@ ODEInputFunction{iip, specialize}(f;
21342134
sys = __has_sys(f) ? f.sys : nothing)
21352135
```
21362136
2137-
`f` should be given as `f(x_out,x,u,p,t)` or `out = f(x,u,p,t)`.
2137+
`f` should be given as `f(x_out,x,u,p,t)` or `out = f(x,u,p,t)`.
21382138
See the section on `iip` for more details on in-place vs out-of-place handling.
21392139
21402140
- `mass_matrix`: the mass matrix `M` represented in the BVP function. Can be used
@@ -4255,7 +4255,7 @@ end
42554255

42564256
# Convenience constructor
42574257
function MultiObjectiveOptimizationFunction(f, args...; kwargs...)
4258-
isinplace(f, 2, outofplace_param_number=2)
4258+
isinplace(f, 3)
42594259
MultiObjectiveOptimizationFunction{true}(f, args...; kwargs...)
42604260
end
42614261

0 commit comments

Comments
 (0)