Skip to content

Commit 70e7d82

Browse files
fix allocation
1 parent 44892a2 commit 70e7d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jacobians.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function JacobianCache(
7171
_fx = fx
7272
end
7373
if eltype(x1) <: Real
74-
_x1 = zeros(Complex{eltype(x)}, size(x))
74+
_x1 = zeros(Complex{eltype(x)}, size(x1))
7575
else
7676
_x1 = x1
7777
end

0 commit comments

Comments
 (0)