Skip to content

Commit

Permalink
add const mpi
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Mar 1, 2025
1 parent 5b7da7b commit ad3db28
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 ad3db28

Please sign in to comment.