Skip to content

Commit 0e70a51

Browse files
committed
typos
1 parent 45f4520 commit 0e70a51

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/scimlfunctions.jl

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ the usage of `f`. These include:
290290
internally computed on demand when required. The cost of this operation is highly dependent
291291
on the sparsity pattern.
292292
- `nlfunc`: a `NonlinearFunction`
293-
- `nl_state_compres`: maps u->nlfunc_u
294-
- `nl_state_decompres`: maps nlfunc_u->u
293+
- `nl_state_compress`: maps u->nlfunc_u
294+
- `nl_state_decompress`: maps nlfunc_u->u
295295
296296
## iip: In-Place vs Out-Of-Place
297297
@@ -425,8 +425,8 @@ struct ODEFunction{iip, specialize, F, TMM, Ta, Tt, TJ, JVP, VJP, JP, SP, TW, TW
425425
initializeprob::IProb
426426
initializeprobmap::IProbMap
427427
nlfunc::NLF
428-
nl_state_compres::NLSC
429-
nl_state_decompres::NLISC
428+
nl_state_compress::NLSC
429+
nl_state_decompress::NLISC
430430
end
431431

432432
@doc doc"""
@@ -545,8 +545,8 @@ struct SplitFunction{
545545
initializeprob::IProb
546546
initializeprobmap::IProbMap
547547
nlfunc::NLF
548-
nl_state_compres::NLSC
549-
nl_state_decompres::NLISC
548+
nl_state_compress::NLSC
549+
nl_state_decompress::NLISC
550550
end
551551

552552
@doc doc"""
@@ -2426,8 +2426,8 @@ function ODEFunction{iip, specialize}(f;
24262426
initializeprob = __has_initializeprob(f) ? f.initializeprob : nothing,
24272427
initializeprobmap = __has_initializeprobmap(f) ? f.initializeprobmap : nothing
24282428
nlfunc = __has_nlfunc(f) ? f.nlfunc : nothing
2429-
nl_state_compres = __has_nl_state_compres(f) ? f.nl_state_compres : identity
2430-
nl_state_decompres = __has_nl_state_decompres(f) ? f.nl_state_decompres : identity
2429+
nl_state_compress = __has_nl_state_compress(f) ? f.nl_state_compress : identity
2430+
nl_state_decompress = __has_nl_state_decompress(f) ? f.nl_state_decompress : identity
24312431
) where {iip,
24322432
specialize
24332433
}
@@ -2489,7 +2489,7 @@ function ODEFunction{iip, specialize}(f;
24892489
jvp, vjp, jac_prototype, sparsity, Wfact,
24902490
Wfact_t, W_prototype, paramjac,
24912491
observed, _colorvec, sys, initializeprob, initializeprobmap,
2492-
nlfunc, nl_state_compres, nl_state_decompres)
2492+
nlfunc, nl_state_compress, nl_state_decompress)
24932493
elseif specialize === false
24942494
ODEFunction{iip, FunctionWrapperSpecialize,
24952495
typeof(_f), typeof(mass_matrix), typeof(analytic), typeof(tgrad),
@@ -2501,12 +2501,12 @@ function ODEFunction{iip, specialize}(f;
25012501
typeof(sys), typeof(initializeprob),
25022502
typeof(initializeprobmap),
25032503
typeof(nlfunc),
2504-
typeof(nl_state_compres),
2505-
typeof(nl_state_decompres)}(_f, mass_matrix, analytic, tgrad, jac,
2504+
typeof(nl_state_compress),
2505+
typeof(nl_state_decompress)}(_f, mass_matrix, analytic, tgrad, jac,
25062506
jvp, vjp, jac_prototype, sparsity, Wfact,
25072507
Wfact_t, W_prototype, paramjac,
25082508
observed, _colorvec, sys, initializeprob, initializeprobmap,
2509-
nlfunc, nl_state_compres, nl_state_decompres)
2509+
nlfunc, nl_state_compress, nl_state_decompress)
25102510
else
25112511
ODEFunction{iip, specialize,
25122512
typeof(_f), typeof(mass_matrix), typeof(analytic), typeof(tgrad),
@@ -2518,12 +2518,12 @@ function ODEFunction{iip, specialize}(f;
25182518
typeof(sys), typeof(initializeprob),
25192519
typeof(initializeprobmap),
25202520
typeof(nlfunc),
2521-
typeof(nl_state_compres),
2522-
typeof(nl_state_decompres)}(_f, mass_matrix, analytic, tgrad, jac,
2521+
typeof(nl_state_compress),
2522+
typeof(nl_state_decompress)}(_f, mass_matrix, analytic, tgrad, jac,
25232523
jvp, vjp, jac_prototype, sparsity, Wfact,
25242524
Wfact_t, W_prototype, paramjac,
25252525
observed, _colorvec, sys, initializeprob, initializeprobmap,
2526-
nlfunc, nl_state_compres, nl_state_decompres)
2526+
nlfunc, nl_state_compress, nl_state_decompress)
25272527
end
25282528
end
25292529

@@ -2546,7 +2546,7 @@ function unwrapped_f(f::ODEFunction, newf = unwrapped_f(f.f))
25462546
f.jvp, f.vjp, f.jac_prototype, f.sparsity, f.Wfact,
25472547
f.Wfact_t, f.W_prototype, f.paramjac,
25482548
f.observed, f.colorvec, f.sys, f.initializeprob, f.initializeprobmap,
2549-
f.nlfunc, f.nl_state_compres, f.nl_state_decompres)
2549+
f.nlfunc, f.nl_state_compress, f.nl_state_decompress)
25502550
else
25512551
ODEFunction{isinplace(f), specialization(f), typeof(newf), typeof(f.mass_matrix),
25522552
typeof(f.analytic), typeof(f.tgrad),
@@ -2563,7 +2563,7 @@ function unwrapped_f(f::ODEFunction, newf = unwrapped_f(f.f))
25632563
f.Wfact_t, f.W_prototype, f.paramjac,
25642564
f.observed, f.colorvec, f.sys, f.initializeprob,
25652565
f.initializeprobmap,
2566-
f.nlfunc, f.nl_state_compres, f.nl_state_decompres)
2566+
f.nlfunc, f.nl_state_compress, f.nl_state_decompress)
25672567
end
25682568
end
25692569

@@ -4364,8 +4364,8 @@ __has_analytic_full(f) = isdefined(f, :analytic_full)
43644364
__has_resid_prototype(f) = isdefined(f, :resid_prototype)
43654365
__has_initializeprob(f) = isdefined(f, :initializeprob)
43664366
__has_initializeprobmap(f) = isdefined(f, :initializeprobmap)
4367-
__has_nl_state_compres(f) = isdefined(f, :nl_state_compres)
4368-
__has_nl_state_decompres(f) = isdefined(f, :nl_state_decompres)
4367+
__has_nl_state_compress(f) = isdefined(f, :nl_state_compress)
4368+
__has_nl_state_decompress(f) = isdefined(f, :nl_state_decompress)
43694369

43704370

43714371
# compatibility

0 commit comments

Comments
 (0)