Skip to content

Commit 4121522

Browse files
authored
Merge pull request #178 from vpuri3/typo
fix typo in matrix.jl
2 parents c485490 + cf2201a commit 4121522

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/matrix.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ the following signature:
88
99
update_func(A::AbstractMatrix,u,p,t) -> [modifies A]
1010
"""
11-
struct MatrixOperator{T,AType<:AbstractMatrix{T},F,F!} <: AbstractSciMLOperator{T}
12-
A::AType
11+
struct MatrixOperator{T,AT<:AbstractMatrix{T},F,F!} <: AbstractSciMLOperator{T}
12+
A::AT
1313
update_func::F
1414
update_func!::F!
1515

@@ -20,7 +20,7 @@ struct MatrixOperator{T,AType<:AbstractMatrix{T},F,F!} <: AbstractSciMLOperator{
2020
typeof(update_func),
2121
typeof(update_func!),
2222
}(
23-
A, update_func
23+
A, update_func, update_func!
2424
)
2525
end
2626
end
@@ -77,7 +77,7 @@ has_adjoint(A::MatrixOperator) = has_adjoint(A.A)
7777
function update_coefficients(L::MatrixOperator, u, p, t)
7878
@set! L.A = L.update_func(L.A, u, p, t)
7979
end
80-
update_coefficients!(L::MatrixOperator,u,p,t) = (L.update_func!(L.A,u,p,t); L)
80+
update_coefficients!(L::MatrixOperator,u,p,t) = (L.update_func!(L.A, u, p, t); L)
8181

8282
getops(L::MatrixOperator) = (L.A,)
8383
function isconstant(L::MatrixOperator)

0 commit comments

Comments
 (0)