Skip to content

Commit

Permalink
Merge pull request #14 from tkonolige/master
Browse files Browse the repository at this point in the history
Just a small fix to isend
  • Loading branch information
patflick authored Jul 21, 2017
2 parents 4b4c2a5 + 68224dc commit ff675f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mxx/comm_fwd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ class comm {
inline mxx::future<void> isend(const T& msg, int dest, int tag = 0) const {
MXX_ASSERT(sizeof(T) < mxx::max_int);
MXX_ASSERT(0 <= dest && dest < this->size());
mxx::datatype dt = mxx::get_datatype<T>;
mxx::datatype dt = mxx::get_datatype<T>();
mxx::future_builder<void> f;
MPI_Isend(const_cast<T*>(&msg), 1, dt.type(), dest, tag, this->mpi_comm, &f.add_request());
return f.get_future();
Expand Down

0 comments on commit ff675f0

Please sign in to comment.