replace deprecated PyArray_DOUBLE type number