We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba3864 commit f77ef3eCopy full SHA for f77ef3e
src/matrix.jl
@@ -491,7 +491,7 @@ A = MatrixOperator(rand(4, 4))
491
B = MatrixOperator(rand(4, 4))
492
493
vec_update_func = (b, u, p, t) -> p .* u * t
494
-L = AffineOperator(A, B, zero(4); update_func = vec_update_func)
+L = AffineOperator(A, B, zeros(4); update_func = vec_update_func)
495
L = cache_operator(M, v)
496
497
# update L and evaluate
0 commit comments