We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 680a270 commit 39e71e2Copy full SHA for 39e71e2
test/ifelsemasks.jl
@@ -494,13 +494,15 @@ T = Float32
494
@show T, @__LINE__
495
if T <: Integer
496
a = rand(-T(100):T(100), N); b = rand(-T(100):T(100), N);
497
+ mv, mi = findminturbo(a)
498
+ @test (mv,mi) == findminturbo_u2(a)
499
+ @test a[mi] == minimum(a)
500
else
501
a = rand(T, N); b = rand(T, N);
502
+ @test findmin(a) == findminturbo(a) == findminturbo_u2(a)
503
end;
504
c1 = similar(a); c2 = similar(a);
505
- @test findmin(a) == findminturbo(a) == findminturbo_u2(a)
-
506
promote_bool_store!(c1, a, b);
507
promote_bool_storeavx!(c2, a, b);
508
@test c1 == c2
0 commit comments