Skip to content

Commit 1ccb627

Browse files
committed
disable membrane barostat test on non-CUDA backends
1 parent abbd81b commit 1ccb627

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/simulation.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1200,7 +1200,8 @@ end
12001200
MonteCarloMembraneBarostat(press, tens, temp, boundary; z_axis_fixed=true),
12011201
)
12021202

1203-
for AT in array_list
1203+
if run_cuda_tests
1204+
AT = CuArray
12041205
for (barostat_i, barostat) in enumerate(barostat_test_set)
12051206
if AT <: AbstractGPUArray && barostat_i != 2
12061207
continue

0 commit comments

Comments
 (0)