Skip to content

Commit aea9248

Browse files
committed
remove datatype specialization
1 parent 07697d6 commit aea9248

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/mpi-base.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ function Comm_size(comm::Comm)
118118
Int(size[])
119119
end
120120

121-
function type_create{T <: Any}(::Type{T}) # <: Any effectively
122-
# limits T to being a Type
121+
function type_create(T::DataType)
123122

124123
if !isbits(T)
125124
throw(ArgumentError("Type must be isbits()"))
@@ -175,9 +174,6 @@ function type_create{T <: Any}(::Type{T}) # <: Any effectively
175174
end
176175

177176

178-
179-
180-
181177
# Point-to-point communication
182178

183179
function Probe(src::Integer, tag::Integer, comm::Comm)

0 commit comments

Comments
 (0)