Skip to content

Commit 139eeb5

Browse files
update once more with feeling
1 parent a214446 commit 139eeb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/weak_convergence/PL1WM.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ sim1 = test_convergence(dts,ensemble_prob,PL1WMA(),
222222
@test abs(sim1.𝒪est[:weak_final]-2) < 0.3 # order is PL1WMA:1.9494776704064316
223223
println("PL1WMA:", sim1.𝒪est[:weak_final])
224224

225-
@test minimum(sim.solutions . sim1.solutions)
225+
@test all([all([sim.solutions[i][j] sim1.solutions[i][j] for j in 1:numtraj]) for i in 1:length(sim.solutions)])
226226

227227
#inplace
228228

@@ -256,4 +256,4 @@ sim1 = test_convergence(dts,ensemble_prob,PL1WMA(),
256256
@test abs(sim1.𝒪est[:weak_final]-2) < 0.3 # order is 1.9494776704064316
257257
println("PL1WMA:", sim1.𝒪est[:weak_final])
258258

259-
@test all([all([sim.solutions[i][j] sim1.solutions[i][j] for j in 1:length(sim.solutions[i])]) for i in 1:numtraj])
259+
@test all([all([sim.solutions[i][j] sim1.solutions[i][j] for j in 1:numtraj]) for i in 1:length(sim.solutions)])

0 commit comments

Comments
 (0)