File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -155,10 +155,10 @@ end
155
155
return values, LinearIndices (x)[indices]
156
156
end
157
157
158
- @test fwithlinindices (findmin, identity, x) == @jit (findmin (x_ra))
159
- @test fwithlinindices (findmax, identity, x) == @jit (findmax (x_ra))
160
- @test fwithlinindices (findmin, identity, xvec) ≈ @jit (findmin (xvec_ra))
161
- @test fwithlinindices (findmax, identity, xvec) ≈ @jit (findmax (xvec_ra))
158
+ dual_approx ( fwithlinindices (findmin, identity, x), @jit (findmin (x_ra) ))
159
+ dual_approx ( fwithlinindices (findmax, identity, x), @jit (findmax (x_ra) ))
160
+ dual_approx ( fwithlinindices (findmin, identity, xvec), @jit (findmin (xvec_ra) ))
161
+ dual_approx ( fwithlinindices (findmax, identity, xvec), @jit (findmax (xvec_ra) ))
162
162
163
163
fmindims (x, d) = findmin (x; dims= d)
164
164
fmindims (f, x, d) = findmin (f, x; dims= d)
You can’t perform that action at this time.
0 commit comments