Skip to content

Commit c1c683a

Browse files
committed
fix test
1 parent 616e21c commit c1c683a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/basictests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,10 @@ end
349349
end
350350

351351
@testset "Solve Function" begin
352-
A1 = rand(n) |> Diagonal |> Array
352+
A1 = rand(n) |> Diagonal
353353
b1 = rand(n)
354354
x1 = zero(b1)
355-
A2 = rand(n) |> Diagonal |> Array
355+
A2 = rand(n) |> Diagonal
356356
b2 = rand(n)
357357
x2 = zero(b1)
358358

@@ -384,7 +384,7 @@ end
384384

385385
@testset "DirectLdiv!" begin
386386
function get_operator(A, u)
387-
F = lu(A)
387+
F = lu(Array(A))
388388

389389
function f(du, u, p, t)
390390
println("using FunctionOperator mul!")

0 commit comments

Comments
 (0)