Skip to content

Commit 3663d29

Browse files
committed
fix and remove depwarns
1 parent 8df9f26 commit 3663d29

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

test/fixed_size_arrays.jl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,9 @@ const unaryOps = (
380380
# vec-vec and vec-scalar
381381
const binaryOps = (
382382

383-
.+, .-, .*, ./, .\,
384-
.==, .!=, .<, .<=, .>, .>=, +, -,
383+
+, -, *, /, \,
384+
==, !=, <, <=, >, >=,
385385
min, max,
386-
387386
atan2, besselj, bessely, hankelh1, hankelh2,
388387
besseli, besselk, beta, lbeta
389388
)
@@ -401,7 +400,7 @@ const binaryOps = (
401400
@testset "$op with $v1 and $v2" begin
402401
try # really bad tests, but better than nothing...
403402
if applicable(op, v1[1], v2[1]) && typeof(op(v1[1], v2[1])) == eltype(v1)
404-
r = op(v1, v2)
403+
r = op.(v1, v2)
405404
for j=1:length(v1)
406405
@test r[j] == op(v1[j], v2[j])
407406
end
@@ -418,7 +417,7 @@ const binaryOps = (
418417
@testset "$op with $t" begin
419418
try
420419
if applicable(op, t[1]) && typeof(op(t[1])) == eltype(t)
421-
v = op(t)
420+
v = op.(t)
422421
for i=1:length(v)
423422
@test v[i] == op(t[i])
424423
end

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ using Base.Test
2424
include("solve.jl")
2525
include("eigen.jl")
2626
include("deque.jl")
27-
#include("fixed_size_arrays.jl")
27+
include("fixed_size_arrays.jl")
2828
end

0 commit comments

Comments
 (0)