Skip to content

Commit c8880dc

Browse files
Merge pull request #42 from jamesjscully/master
Update runtests.jl
2 parents 9d5e7be + d14ed32 commit c8880dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ f.invW_t(iW,u,p,2.0,t)
7070
@test minimum(iW - inv(I/2 - J) .< 1e-10)
7171

7272
println("Parameter Jacobians")
73-
pJ = Matrix{Float64}(2,4)
73+
pJ = zeros(Float64,2,4)
7474
f.paramjac(pJ,u,[2.0;2.5;3.0;1.0],t)
75-
@test pJ == [2.0 -6.0 0 0.0
76-
0 0 -3.0 6.0]
75+
@test pJ == [2.0 -6.0 0.0 0.0
76+
0.0 0.0 -3.0 6.0]
7777

7878
@code_llvm DiffEqBase.has_jac(f)
7979

0 commit comments

Comments
 (0)