Skip to content

Commit fc427b9

Browse files
committed
fix DirectLdiv<bang> test
1 parent 28f1781 commit fc427b9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/basictests.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,16 +384,14 @@ end
384384

385385
@testset "DirectLdiv!" begin
386386
function get_operator(A, u)
387-
F = lu(Array(A))
388-
389387
function f(du, u, p, t)
390388
println("using FunctionOperator mul!")
391389
mul!(du, A, u)
392390
end
393391

394392
function fi(du, u, p, t)
395393
println("using FunctionOperator ldiv!")
396-
ldiv!(du, F, u)
394+
ldiv!(du, A, u)
397395
end
398396

399397
FunctionOperator(f, u, u; isinplace = true, op_inverse = fi)

0 commit comments

Comments
 (0)