We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72c3a49 commit 7bbaefdCopy full SHA for 7bbaefd
1 file changed
test/basic.jl
@@ -770,6 +770,14 @@ end
770
@test @jit(fn.(xrad_ra)) isa ConcreteRArray{Float32,2}
771
end
772
773
+ yrad = Reactant.TestUtils.construct_test_array(Float32, 4, 16)[:, 3:9]
774
+ yrad_ra = Reactant.to_rarray(yrad)
775
+
776
+ @testset for fn in (atan, atand)
777
+ @test @jit(fn.(yrad_ra, xrad_ra)) ≈ fn.(yrad, xrad)
778
+ @test @jit(fn.(yrad_ra, xrad_ra)) isa ConcreteRArray{Float32,2}
779
+ end
780
781
x = 0.235f0
782
x_ra = Reactant.to_rarray(x; track_numbers=Number)
783
0 commit comments