diff options
author | David Cournapeau <cournape@gmail.com> | 2011-02-07 13:56:42 +0900 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2011-02-07 13:57:39 +0900 |
commit | c5c6b498509276223b7fdc04b9bd3d36fb74aa85 (patch) | |
tree | 6f6261dd32e1826b8beebbb09c59b2be93ba8f38 /numpy | |
parent | 24392c8a4d161000dd925904f302d77b0efed219 (diff) | |
download | numpy-c5c6b498509276223b7fdc04b9bd3d36fb74aa85.tar.gz |
BUG: fix a few C99-ism in C code.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/src/multiarray/lowlevel_strided_loops.c.src | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/src/multiarray/lowlevel_strided_loops.c.src b/numpy/core/src/multiarray/lowlevel_strided_loops.c.src index 9080d6d9b..e3dafefce 100644 --- a/numpy/core/src/multiarray/lowlevel_strided_loops.c.src +++ b/numpy/core/src/multiarray/lowlevel_strided_loops.c.src @@ -22,7 +22,7 @@ /* x86 platform works with unaligned reads and writes */ #if (defined(NPY_CPU_X86) || defined(NPY_CPU_AMD64)) -# define NPY_USE_UNALIGNED_ACCESS 0 //1 +# define NPY_USE_UNALIGNED_ACCESS 0 /*1*/ #else # define NPY_USE_UNALIGNED_ACCESS 0 #endif @@ -892,7 +892,7 @@ PyArray_GetStridedNumericCastFn(npy_intp aligned, npy_intp src_stride, */ case NPY_@NAME1@: - //printf("test fn %d - second %d\n", NPY_@NAME1@, dst_type_num); + /*printf("test fn %d - second %d\n", NPY_@NAME1@, dst_type_num);*/ switch (dst_type_num) { /**begin repeat1 * @@ -909,7 +909,7 @@ PyArray_GetStridedNumericCastFn(npy_intp aligned, npy_intp src_stride, */ case NPY_@NAME2@: - //printf("ret fn %d %d\n", NPY_@NAME1@, NPY_@NAME2@); + /*printf("ret fn %d %d\n", NPY_@NAME1@, NPY_@NAME2@);*/ # if NPY_USE_UNALIGNED_ACCESS if (src_stride == sizeof(npy_@name1@) && dst_stride == sizeof(npy_@name2@)) { @@ -933,7 +933,7 @@ PyArray_GetStridedNumericCastFn(npy_intp aligned, npy_intp src_stride, /**end repeat1**/ } - //printf("switched test fn %d - second %d\n", NPY_@NAME1@, dst_type_num); + /*printf("switched test fn %d - second %d\n", NPY_@NAME1@, dst_type_num);*/ /**end repeat**/ } |