Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUG: Some macros require trailing semicolons for Numpy 1.7.

In Numpy 1.7 some macros have had their trailing semicolons removed
in the include file, hence require them in the source.
  • Loading branch information...
commit 1eac7bf0415e0edd4d77c7bf606df7b1fe42458c 1 parent 6eb2da0
@charris charris authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 scipy/special/_cephesmodule.c
View
6 scipy/special/_cephesmodule.c
@@ -1051,7 +1051,7 @@ static PyObject *scipy_special_SpecialFunctionWarning = NULL;
void scipy_special_raise_warning(char *fmt, ...)
{
- NPY_ALLOW_C_API_DEF
+ NPY_ALLOW_C_API_DEF;
char msg[1024];
va_list ap;
@@ -1059,9 +1059,9 @@ void scipy_special_raise_warning(char *fmt, ...)
PyOS_vsnprintf(msg, 1024, fmt, ap);
va_end(ap);
- NPY_ALLOW_C_API
+ NPY_ALLOW_C_API;
PyErr_Warn(scipy_special_SpecialFunctionWarning, msg);
- NPY_DISABLE_C_API
+ NPY_DISABLE_C_API;
}
static char errprint_doc[] = \
Please sign in to comment.
Something went wrong with that request. Please try again.