Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 7e4ac73

Browse files
committed
Remove u-dependence in WrapFunc
1 parent 530e1b2 commit 7e4ac73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/update_coeffs_testutils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ mutable struct WrapFunc{F,U,P,T}
77
t::T
88
end
99

10-
(w::WrapFunc)(u) = sum(w.u) * w.p * w.t * w.func(u)
10+
(w::WrapFunc)(u) = w.p * w.t * w.func(u)
1111
function (w::WrapFunc)(v, u)
1212
w.func(v, u)
13-
lmul!(sum(w.u) * w.p * w.t, v)
13+
lmul!(w.p * w.t, v)
1414
end
1515

1616
update_coefficients(w::WrapFunc, u, p, t) = WrapFunc(w.func, u, p, t)

0 commit comments

Comments
 (0)