We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed66b4c commit e0a81ffCopy full SHA for e0a81ff
src/mpi-base.jl
@@ -84,9 +84,9 @@ type Status
84
val::Array{Cint,1}
85
Status() = new(Array(Cint, MPI_STATUS_SIZE))
86
end
87
-Get_error(stat::Status) = stat.val[MPI_ERROR]
88
-Get_source(stat::Status) = stat.val[MPI_SOURCE]
89
-Get_tag(stat::Status) = stat.val[MPI_TAG]
+Get_error(stat::Status) = Int(stat.val[MPI_ERROR])
+Get_source(stat::Status) = Int(stat.val[MPI_SOURCE])
+Get_tag(stat::Status) = Int(stat.val[MPI_TAG])
90
91
const ANY_SOURCE = Int(MPI_ANY_SOURCE)
92
const ANY_TAG = Int(MPI_ANY_TAG)
0 commit comments