Skip to content

Commit cf2201a

Browse files
committed
rm comments
1 parent be4585e commit cf2201a

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/matrix.jl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +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-
function update_coefficients!(L::MatrixOperator,u,p,t)
81-
L_A = L.A
82-
L_func! = L.update_func!
83-
args = (u, p, t)
84-
L_func!(L_A, args...)
85-
# L.update_func!(L.A,u,p,t)
86-
L
87-
end
80+
update_coefficients!(L::MatrixOperator,u,p,t) = (L.update_func!(L.A, u, p, t); L)
8881

8982
getops(L::MatrixOperator) = (L.A,)
9083
function isconstant(L::MatrixOperator)

0 commit comments

Comments
 (0)