Skip to content

Commit 5a3d5fc

Browse files
author
LasNikas
committed
fix gpu test
1 parent e59c21a commit 5a3d5fc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/examples/gpu.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ end
423423
end_point = [position_x, tank_size[2]]
424424

425425
result = interpolate_line(start_point, end_point, n_interpolation_points,
426-
semi, fluid_system, sol)
427-
@test isapprocx(plane.computed_density,
426+
semi_fullgrid, fluid_system, sol)
427+
@test isapprox(plane.computed_density,
428428
[NaN,
429429
1051.550381846236,
430430
1058.840859422405,
@@ -436,7 +436,7 @@ end
436436
693.8269492612843,
437437
NaN])
438438

439-
@test isapporx(result.density,
439+
@test isapprox(result.density,
440440
[NaN,
441441
1066.8978311276544,
442442
1058.4834534513207,
@@ -448,7 +448,7 @@ end
448448
1003.3921419243012,
449449
NaN])
450450

451-
@test isapporx(result.pressure,
451+
@test isapprox(result.pressure,
452452
[NaN,
453453
8198.684648008579,
454454
6983.142465751377,

0 commit comments

Comments
 (0)