Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Commit ecacb78

Browse files
committed
Require Compat 0.13.0
1 parent 0a14161 commit ecacb78

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
julia 0.5
2-
Compat 0.9.4
2+
Compat 0.13.0
33
Reexport

src/broadcast.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function Base.broadcast{F}(f::F, As::NullableArray...)
6565
@inline f2(x...) = lift(f, x)
6666

6767
T = nullable_broadcast_eltype(f, As...)
68-
dest = similar(NullableArray{eltype(T)}, broadcast_indices(As...))
68+
dest = similar(NullableArray{T}, broadcast_indices(As...))
6969
invoke_broadcast!(f2, dest, As...)
7070
end
7171

src/map.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function Base.map{F}(f::F, As::NullableArray...)
2525
@inline f2(x...) = lift(f, x)
2626

2727
T = nullable_broadcast_eltype(f, As...)
28-
dest = similar(NullableArray{eltype(T)}, size(As[1]))
28+
dest = similar(NullableArray{T}, size(As[1]))
2929
invoke_map!(f2, dest, As...)
3030
end
3131

test/broadcast.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module TestBroadcast
22
using NullableArrays
33
using Base.Test
4+
using Compat
45

56
A1 = rand(10)
67
M1 = rand(Bool, 10)

0 commit comments

Comments
 (0)