File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -248,17 +248,17 @@ function fn_test_for_synchronize(x)
248248 return x .+ 1
249249end
250250
251- @testset " synchronize" begin
251+ @testset " synchronize" begin
252252 @test isnothing (Reactant. synchronize (1 ))
253253 @test isnothing (Reactant. synchronize ([1 , 2 , 3 ]))
254254
255255 x = rand (Float32, 10 )
256256
257257 @test isnothing (Reactant. synchronize (x))
258-
258+
259259 xr = Reactant. to_rarray (x)
260- fsyncfalse = @compile sync= false fn_test_for_synchronize (xr)
261- fsynctrue = @compile sync= true fn_test_for_synchronize (xr)
260+ fsyncfalse = @compile sync = false fn_test_for_synchronize (xr)
261+ fsynctrue = @compile sync = true fn_test_for_synchronize (xr)
262262
263263 ysyncfalse = fsyncfalse (xr)
264264 @test isnothing (Reactant. synchronize (ysyncfalse))
267267 @test isnothing (Reactant. synchronize (ysynctrue))
268268
269269 @test ysyncfalse == ysynctrue
270-
270+
271271 @test Reactant. synchronize ((ysyncfalse, ysynctrue)) == nothing
272- end
272+ end
You can’t perform that action at this time.
0 commit comments