Skip to content

Commit

Permalink
Merge branch 'add-const-mpi' into 'master'
Browse files Browse the repository at this point in the history
add const mpi

See merge request correaa/boost-multi!1363
  • Loading branch information
correaa committed Mar 1, 2025
2 parents 5b7da7b + ad3db28 commit 1c7c34e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/multi/adaptors/mpi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ template<> const_MPI_Datatype datatype<int> = MPI_INT; // NOLINT(misc-misplaced
// MPI3_DECLARE_DATATYPE(unsigned long , MPI_UNSIGNED_LONG);
// MPI3_DECLARE_DATATYPE(float , MPI_FLOAT);

template<> const_MPI_Datatype datatype<float> = MPI_FLOAT; // NOLINT(misc-definitions-in-headers)
template<> const_MPI_Datatype datatype<double> = MPI_DOUBLE; // NOLINT(misc-definitions-in-headers)
template<> const_MPI_Datatype const datatype<float> = MPI_FLOAT; // NOLINT(misc-definitions-in-headers)
template<> const_MPI_Datatype const datatype<double> = MPI_DOUBLE; // NOLINT(misc-definitions-in-headers)

// MPI3_DECLARE_DATATYPE(long double , MPI_LONG_DOUBLE);
// MPI3_DECLARE_DATATYPE(long long int , MPI_LONG_LONG_INT);
Expand Down

0 comments on commit 1c7c34e

Please sign in to comment.