Skip to content

Commit

Permalink
remove sc_MPI_UNSIGNED_LONG_LONG
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbrandt committed Mar 18, 2024
1 parent 257e973 commit 88224e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/sc_mpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ sc_mpi_sizeof (sc_MPI_Datatype t)
return sizeof (int);
if (t == sc_MPI_LONG || t == sc_MPI_UNSIGNED_LONG)
return sizeof (long);
if (t == sc_MPI_LONG_LONG_INT || t == sc_MPI_UNSIGNED_LONG_LONG)
if (t == sc_MPI_LONG_LONG_INT)
return sizeof (long long);
if (t == sc_MPI_FLOAT)
return sizeof (float);
Expand Down
2 changes: 0 additions & 2 deletions src/sc_mpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ sc_MPI_IO_Errorcode_t;
#define sc_MPI_LONG MPI_LONG
#define sc_MPI_UNSIGNED_LONG MPI_UNSIGNED_LONG
#define sc_MPI_LONG_LONG_INT MPI_LONG_LONG_INT
#define sc_MPI_UNSIGNED_LONG_LONG MPI_LONG_LONG_INT
#define sc_MPI_FLOAT MPI_FLOAT
#define sc_MPI_DOUBLE MPI_DOUBLE
#define sc_MPI_LONG_DOUBLE MPI_LONG_DOUBLE
Expand Down Expand Up @@ -366,7 +365,6 @@ sc_MPI_IO_Errorcode_t;
#define sc_MPI_LONG SC3_MPI_LONG
#define sc_MPI_UNSIGNED_LONG ((sc_MPI_Datatype) 0x4c000408)
#define sc_MPI_LONG_LONG_INT SC3_MPI_LONG_LONG
#define sc_MPI_UNSIGNED_LONG_LONG ((sc_MPI_Datatype) 0x4c000409)
#define sc_MPI_FLOAT SC3_MPI_FLOAT
#define sc_MPI_DOUBLE SC3_MPI_DOUBLE
#define sc_MPI_LONG_DOUBLE ((sc_MPI_Datatype) 0x4c000c0c)
Expand Down

0 comments on commit 88224e6

Please sign in to comment.