@@ -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
2626end
@@ -77,7 +77,7 @@ has_adjoint(A::MatrixOperator) = has_adjoint(A.A)
7777function update_coefficients (L:: MatrixOperator , u, p, t)
7878 @set! L. A = L. update_func (L. A, u, p, t)
7979end
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
8282getops (L:: MatrixOperator ) = (L. A,)
8383function isconstant (L:: MatrixOperator )
0 commit comments