Skip to content

Commit e1c9e43

Browse files
author
chmerdon
committed
fixed wrong size of jacobian
1 parent 3b0dd51 commit e1c9e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common_operators/nonlinear_operator.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ function build_assembler!(A::AbstractMatrix, b::AbstractVector, O::NonlinearOper
289289
jac_backend = K.jac_backend
290290
# todo: get sparse jacobians to work (need to extract sparsity pattern)
291291
sparse_jacobians = false
292-
jac = zeros(Tv, length(input_args), length(value))
292+
jac = zeros(Tv, length(value), length(input_args))
293293
kernel_params = K.kernel
294294
params.time = time
295295

0 commit comments

Comments
 (0)