diff options
Diffstat (limited to 'matrix/mmatrix.c')
-rw-r--r-- | matrix/mmatrix.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/matrix/mmatrix.c b/matrix/mmatrix.c index 6f5ef3f..ffb02ac 100644 --- a/matrix/mmatrix.c +++ b/matrix/mmatrix.c @@ -1,8 +1,8 @@ #define NERV_GENERIC_MMATRIX #define MATRIX_USE_FLOAT -#define host_matrix_(NAME) host_matrix_float_ ## NAME -#define nerv_matrix_(NAME) nerv_matrix_float_host_ ## NAME -const char *nerv_matrix_(tname) = "nerv.FloatMMatrix"; +#define host_matrix_(NAME) host_matrix_float_##NAME +#define nerv_matrix_(NAME) nerv_matrix_host_float_##NAME +const char *nerv_matrix_(tname) = "nerv.MMatrixFloat"; #include "generic/mmatrix.c" #undef nerv_matrix_ #undef host_matrix_ @@ -12,7 +12,7 @@ const char *nerv_matrix_(tname) = "nerv.FloatMMatrix"; #define NERV_GENERIC_MMATRIX #define MATRIX_USE_DOUBLE -#define host_matrix_(NAME) host_matrix_double_ ## NAME -#define nerv_matrix_(NAME) nerv_matrix_double_host_ ## NAME -const char *nerv_matrix_(tname) = "nerv.DoubleMMatrix"; +#define host_matrix_(NAME) host_matrix_double_##NAME +#define nerv_matrix_(NAME) nerv_matrix_host_double_##NAME +const char *nerv_matrix_(tname) = "nerv.MMatrixDouble"; #include "generic/mmatrix.c" |