summaryrefslogtreecommitdiff
path: root/numpy/core/src
diff options
context:
space:
mode:
authorDeveloper-Ecosystem-Engineering <65677710+Developer-Ecosystem-Engineering@users.noreply.github.com>2022-08-29 17:12:51 -0700
committerDeveloper-Ecosystem-Engineering <65677710+Developer-Ecosystem-Engineering@users.noreply.github.com>2023-01-04 02:19:17 -0800
commit1c7a4f3391d2ba35ec4492e2efffb9defeb4f8c7 (patch)
treedac421989438da5bd5494238705df4e87b204612 /numpy/core/src
parent3bc4b0b5bed8c09ae969db10479b497016cb0d9d (diff)
downloadnumpy-1c7a4f3391d2ba35ec4492e2efffb9defeb4f8c7.tar.gz
Address cygwin failures
Diffstat (limited to 'numpy/core/src')
-rw-r--r--numpy/core/src/umath/loops_unary_fp.dispatch.c.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umath/loops_unary_fp.dispatch.c.src b/numpy/core/src/umath/loops_unary_fp.dispatch.c.src
index ac30fb812..ac5322c12 100644
--- a/numpy/core/src/umath/loops_unary_fp.dispatch.c.src
+++ b/numpy/core/src/umath/loops_unary_fp.dispatch.c.src
@@ -676,12 +676,12 @@ clear:;
NPY_NO_EXPORT void NPY_CPU_DISPATCH_CURFX(@TYPE@_@kind@)
(char **args, npy_intp const *dimensions, npy_intp const *steps, void *NPY_UNUSED(func))
{
+#if @VCHK@
const char *ip = args[0];
char *op = args[1];
const npy_intp istep = steps[0];
const npy_intp ostep = steps[1];
npy_intp len = dimensions[0];
-#if @VCHK@
const int ilsize = sizeof(npyv_lanetype_@sfx@);
const int olsize = sizeof(npy_bool);
const npy_intp istride = istep / ilsize;