File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 21
21
#include <math.h>
22
22
23
23
24
- const char * umath_linalg_version_string = "0.1.2 " ;
24
+ const char * umath_linalg_version_string = "0.1.3 " ;
25
25
26
26
/*
27
27
****************************************************************************
@@ -370,7 +370,7 @@ offset_ptr(void* ptr, ptrdiff_t offset)
370
370
*****************************************************************************
371
371
*/
372
372
373
- static const char * umath_linalg_module_name = "_umath_linalg" ;
373
+ #define UMATH_LINALG_MODULE_NAME "_umath_linalg"
374
374
375
375
typedef union {
376
376
fortran_complex f ;
@@ -4158,7 +4158,7 @@ static PyMethodDef UMath_LinAlgMethods[] = {
4158
4158
#if defined(NPY_PY3K )
4159
4159
static struct PyModuleDef moduledef = {
4160
4160
PyModuleDef_HEAD_INIT ,
4161
- umath_linalg_module_name ,
4161
+ UMATH_LINALG_MODULE_NAME ,
4162
4162
NULL ,
4163
4163
-1 ,
4164
4164
UMath_TestsMethods ,
@@ -4186,7 +4186,7 @@ init_umath_linalg(void)
4186
4186
#if defined(NPY_PY3K )
4187
4187
m = PyModule_Create (& moduledef );
4188
4188
#else
4189
- m = Py_InitModule (umath_linalg_module_name , UMath_LinAlgMethods );
4189
+ m = Py_InitModule (UMATH_LINALG_MODULE_NAME , UMath_LinAlgMethods );
4190
4190
#endif
4191
4191
if (m == NULL )
4192
4192
return RETVAL ;
You can’t perform that action at this time.
0 commit comments