File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4545 @test length (t) == 1
4646
4747 # this will trigger the scalar indexing of CuArray
48- @test_broken t[1 ] == (
48+ CUDA . @allowscalar @test t[1 ] == (
4949 state= ones (Float32, 2 , 3 ),
5050 next_state= ones (Float32, 2 , 3 ) * 2 ,
5151 action= ones (Float32, 2 ),
7070 @test length (t) == 3
7171
7272 # this will trigger the scalar indexing of CuArray
73- @test_broken t[1 ] == (
73+ CUDA . @allowscalar @test t[1 ] == (
7474 state= ones (Float32, 2 , 3 ) * 2 ,
7575 next_state= ones (Float32, 2 , 3 ) * 3 ,
7676 action= ones (Float32, 2 ) * 2 ,
7777 next_action= ones (Float32, 2 ) * 3 ,
7878 reward= 2.0f0 ,
7979 terminal= false ,
8080 )
81- @test_broken t[end ] == (
81+ CUDA . @allowscalar @test t[end ] == (
8282 state= ones (Float32, 2 , 3 ) * 4 ,
8383 next_state= ones (Float32, 2 , 3 ) * 5 ,
8484 action= ones (Float32, 2 ) * 4 ,
You can’t perform that action at this time.
0 commit comments