Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

change MPI_CHAR to MPI_BYTE when input object is String

  • Loading branch information...
commit 650df700f26bcc4129e5cbdec4782226901b246e 1 parent a475218
Seiya Nishizawa authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/mpi/mpi.c
2  ext/mpi/mpi.c
View
@@ -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);\
Please sign in to comment.
Something went wrong with that request. Please try again.