Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit 2298ea3

Browse files
update for syntax changes
1 parent e59ce97 commit 2298ea3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/array_operator.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ Base.size(L::DiffEqArrayOperator) = size(L.A)
6666
DiffEqBase.update_coefficients!(L::DiffEqArrayOperator,t,u) = (L.update_func(L.A,t,u); L.α = L.α(t); nothing)
6767
DiffEqBase.update_coefficients(L::DiffEqArrayOperator,t,u) = (L.update_func(L.A,t,u); L.α = L.α(t); L)
6868

69-
function (L::DiffEqArrayOperator)(t,u)
69+
function (L::DiffEqArrayOperator)(u,p,t)
7070
update_coefficients!(L,t,u)
7171
L*u
7272
end
7373

74-
function (L::DiffEqArrayOperator)(t,u,du)
74+
function (L::DiffEqArrayOperator)(du,u,p,t)
7575
update_coefficients!(L,t,u)
7676
A_mul_B!(du,L,u)
7777
end

src/derivative_operators/derivative_operator.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,8 @@ end
434434
#################################################################################################
435435

436436

437-
(L::DerivativeOperator)(t,u) = L*u
438-
(L::DerivativeOperator)(t,u,du) = A_mul_B!(du,L,u)
437+
(L::DerivativeOperator)(u,p,t) = L*u
438+
(L::DerivativeOperator)(du,u,p,t) = A_mul_B!(du,L,u)
439439
get_LBC(::DerivativeOperator{A,B,C,D}) where {A,B,C,D} = C
440440
get_RBC(::DerivativeOperator{A,B,C,D}) where {A,B,C,D} = D
441441

0 commit comments

Comments
 (0)