Skip to content

Commit

Permalink
Fix static if
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti committed May 10, 2024
1 parent 29f77e4 commit 30c86bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/chainedvector.jl
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ end
@test minimum(x) == minimum(y)
@test argmax(x) == argmax(y)
@test argmin(x) == argmin(y)
@static VERSION v"1.6"
@static if VERSION v"1.6"
@test findmax(x->x+1, x) == findmax(x->x+1, y)
@test findmin(x->x-1, x) == findmin(x->x-1, y)
@test findfirst(isodd, x) == findfirst(isodd, y)
Expand Down

0 comments on commit 30c86bd

Please sign in to comment.