Skip to content

Commit

Permalink
change MPI_CHAR to MPI_BYTE when input object is String
Browse files Browse the repository at this point in the history
  • Loading branch information
seiya committed Apr 26, 2011
1 parent a475218 commit 650df70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/mpi/mpi.c
Expand Up @@ -11,7 +11,7 @@
if (TYPE(rb_obj) == T_STRING) {\
len = RSTRING_LEN(rb_obj);\
buffer = (void*)StringValuePtr(rb_obj);\
typ = MPI_CHAR;\
typ = MPI_BYTE;\
} else if (IsNArray(rb_obj)) { \
struct NARRAY *a;\
GetNArray(rb_obj, a);\
Expand Down

0 comments on commit 650df70

Please sign in to comment.