Skip to content

Commit 556e428

Browse files
authored
Merge pull request #168 from JuliaParallel/anj/05
A few fixes for Julia 0.5.
2 parents 22a08c4 + 36f84bc commit 556e428

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cman.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ end
474474
function mpi_do(mgr::MPIManager, expr)
475475
!mgr.initialized && wait(mgr.cond_initialized)
476476
jpids = keys(mgr.j2mpi)
477-
refs = cell(length(jpids))
477+
refs = Array(Any, length(jpids))
478478
for (i,p) in enumerate(filter(x -> x != myid(), jpids))
479479
refs[i] = remotecall(expr, p)
480480
end

src/mpi-base.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ typealias MPIDatatype Union{Char,
44
Float32, Float64, Complex64, Complex128}
55
typealias MPIBuffertype{T} Union{Ptr{T}, Array{T}, Ref{T}}
66

7-
if VERSION >= v"0.5"
7+
if VERSION >= v"0.5.0-"
88
# TODO: Use Compat for this
99
fieldoffsets{T}(::Type{T}) = Int[fieldoffset(T, i) for i in 1:nfields(T)]
1010
end

0 commit comments

Comments
 (0)