Robert McLeod
5e74e3c5db
Getting ready for release 2.8.2
Build / Build wheels on ubuntu-latest for aarch64 - 3.10 (push) Has been cancelled
Build / Build wheels on ubuntu-latest for aarch64 - 3.7 (push) Has been cancelled
Build / Build wheels on ubuntu-latest for aarch64 - 3.8 (push) Has been cancelled
Build / Build wheels on ubuntu-latest for aarch64 - 3.9 (push) Has been cancelled
Build / Build wheels on macos-latest for arm64 - 3.7-3.10 (push) Has been cancelled
Build / Build wheels on macos-latest for auto64 - 3.7-3.10 (push) Has been cancelled
Build / Build wheels on ubuntu-latest for auto64 - 3.7-3.10 (push) Has been cancelled
Build / Build wheels on windows-latest for auto64 - 3.7-3.10 (push) Has been cancelled
2022-06-23 21:49:05 -07:00
Robert McLeod
06f66d3b64
Separate init of singleton from assignment of default value due to use of goto statements
2022-06-23 16:09:31 -07:00
Robert McLeod
ab79cd020c
Apply PyArray_ResolveWritebackIfCopy after singleton ops if needed
2022-06-23 15:42:34 -07:00
Robert McLeod
c7270998aa
Re-add our special NE_INFINITY and NE_NAN symbols for G++ and clang
2022-06-23 13:34:58 -07:00
Robert McLeod
6ba6f651b3
Test on all platforms assignment of const to unaligned singleton array
2022-06-23 13:28:42 -07:00
Robert McLeod
55765c6e48
Getting ready for release 2.8.2
2022-04-13 21:03:16 -07:00
Robert McLeod
1c6a024947
Fix for #397 , use of NPY_ARRAY_UPDATEIFCOPY flag
2022-01-24 10:54:34 -08:00
Robert McLeod
422de133fd
Move init_threads() protection inside the function; rename threads_ready -> barrier_passed to avoid confusion with threads init vars
2018-07-12 10:51:30 -07:00
Mark Dickinson
79232c0632
Fix: allow for spurious wakeup calls from pthread_cond_wait.
2018-07-12 13:28:32 +01:00
Robert A. McLeod
e639060686
Fix #277 , reductions on arrays with leading dimension of 1
2017-07-19 13:39:15 -07:00
Francesc Alted
b428e1923a
Merge pull request #231 from shadchin/master
...
Fix bugs in function `stringcontains()`: `strlen()` can not find the end of string. Fixes #230 .
2017-01-29 12:38:07 +01:00
Antonio Valentino
2dffa35f51
Typo
2016-12-24 22:16:23 +01:00
Alexandr Shadchin
6709d28b23
This is always true
2016-11-18 18:04:16 +05:00
Alexandr Shadchin
5198c96687
Slight simplification function stringcontains
2016-11-18 15:40:56 +05:00
Alexandr Shadchin
bd8334eeb6
BUG: fix contains with long needle
2016-11-18 15:35:59 +05:00
Alexandr Shadchin
6daaa61a8d
BUG: fix segmentation fault
...
Bug in function stringcontains:
strlen can not find the end of string and leaves beyond available memory
2016-11-18 15:33:03 +05:00
FrancescAlted
f91a2d3144
Merge pull request #228 from oleksandr-pavlyk/feature/upgrade-numpy-api
...
MAINT: Update to use current Numpy API
2016-10-11 14:10:00 +02:00
Oleksandr Pavlyk
f81fe92633
MAINT: Update to use current Numpy API
...
This eliminates numerous warnings like
warning: #warning "Using deprecated NumPy API, disable it by "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
2016-10-10 15:04:55 -05:00
Oleksandr Pavlyk
fda3c80a41
MAINT: Elimited deprecated conversion from string constant to 'char *'
...
Added explicit casts to string constants to eliminate these compiler warnings.
2016-10-10 14:52:43 -05:00
Francesc Alted
71a752246e
Added the fmin and fmax function for Windowz
2016-01-26 14:25:38 +01:00
Francesc Alted
78362db52f
Merge branch 'minmax-ops' of https://github.com/perimosocordiae/numexpr into perimosocordiae-minmax-ops
2016-01-26 13:57:27 +01:00
CJ Carey
48977a44c6
attempting to fix Windows errors
...
based on the suggestion of @jennolsen84
2016-01-20 16:50:50 -06:00
Antoine Pitrou
2baef92b95
Fix crash when evaluate() called from multiple threads
2016-01-20 10:54:27 +01:00
CJ Carey
0330b8b1f6
Adding min and max reduction functions
2015-11-18 17:01:03 -05:00
Francesc Alted
a4cabfbe92
Correctly compare with empty strings. Fixes #121 and PyTables #184 .
2015-04-27 17:40:10 +02:00
Francesc Alted
95f3995aed
Get rid of LOGDEBUG as it was meant to be used just during development of contains()
2014-04-07 06:59:56 +02:00
cgohlke
9fcbab1873
Fix build error with gcc
2014-04-06 15:24:08 -07:00
cgohlke
7865d1ced5
Use std:min instead of fminl
...
Fixes build error on Windows with msvc.
2014-04-06 14:56:53 -07:00
Francesc Alted
ce9f42c656
Moved str-two-way.h to .hpp to follow numexpr conventions
2014-03-03 07:40:22 +01:00
Marcin Krol
a65efcf4b0
cleanup
2014-02-20 18:45:48 +01:00
Marcin Krol
12c4f28af3
used str-two-way.h version from newlib that has permissive, BSD-like license
2014-02-19 17:45:48 +01:00
Marcin Krol
90a2a10918
reorg preprocessor directives
2014-02-18 15:09:39 +01:00
Marcin Krol
8c881eb3f3
contains(s1, s2) works without malloc and free, added tests
2014-02-18 14:57:18 +01:00
Marcin Krol
dce372cf96
working string "contains" operator
2014-02-18 14:49:03 +01:00
Marcin Krol
13407704a2
extended logging
2014-02-13 16:30:41 +01:00
Marcin Krol
05a39bc04a
extended logging
2014-02-13 15:58:46 +01:00
Marcin Krol
3cf3136532
implemented substring search function: contains(haystack, needle)
2014-02-12 20:49:55 +01:00
Marcin Krol
ab845a811b
fixes
2014-02-11 16:30:22 +01:00
Marcin Krol
c89f632e50
implement "contains" function for strings
2014-02-11 11:08:31 +01:00
Francesc Alted
f437b34236
Ups, vsConj() and vdConj() were not in the correct spot
2014-01-25 16:40:02 +01:00
Francesc Alted
855610c403
Adding vsConj and vdConj in its proper place (hopefully)
2014-01-25 10:29:05 +01:00
Francesc Alted
5c22363e7f
Ups, removed the wrong vzAbs_ function. Restoring.
2014-01-24 19:27:16 +01:00
Francesc Alted
5d40744803
Just use standard fconjf and fconj even for MKL build
2014-01-24 19:25:46 +01:00
Francesc Alted
df79fab2fb
Adding required vsConj and vdConj functions for MKL
2014-01-24 18:58:37 +01:00
Francesc Alted
6104fb0729
vzConj is in MKL, so removed from here.
2014-01-24 18:20:22 +01:00
Francesc Alted
0b63f53236
The loop counter has to be an MKL_INT too.
2014-01-24 12:57:38 +01:00
Francesc Alted
a64dd882af
Fixing the type for ints for vzConj for MKL in PR #125
2014-01-24 12:54:34 +01:00
FrancescAlted
ead47f381b
Merge pull request #125 from Dapid/add_conj
...
Adding function conj (still failing some tests, but will apply fixes later on)
2014-01-24 03:27:48 -08:00
Francesc Alted
904bd6ced3
After talking with Mark W. it does not seem that the if lines are needed
2014-01-23 18:56:46 +01:00
Francesc Alted
1e1aa14ef9
Fixing a DeprecationWarning when using NpyIter_AdvancedNew. Fixes #127 .
2014-01-23 11:18:52 +01:00