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.
2 parents 7ba3864 + f77ef3e commit 37194cfCopy full SHA for 37194cf
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