Skip to content

Commit

Permalink
Merge pull request #48 from JuliaDiffEq/myb/fix
Browse files Browse the repository at this point in the history
Add missing broadcast
  • Loading branch information
ChrisRackauckas authored Mar 12, 2019
2 parents 4c51240 + 025bf85 commit efb06cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jacobians.jl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function finite_difference_jacobian!(J::AbstractMatrix{<:Number},
else
vfx = vec(f_in)
end
J[:,i] = (vfx1 - vfx) / epsilon
@. J[:,i] = (vfx1 - vfx) / epsilon
else
fx1 .= f(x1)
if f_in isa Nothing
Expand Down

0 comments on commit efb06cd

Please sign in to comment.