diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-06-08 14:57:15 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-06-08 14:57:15 -0700 |
commit | 3e471304393244eb02215d1601d2396b3f94eb8d (patch) | |
tree | c837f5bd2272256f361cb2ec6b0d04a84b023a8d /numpy/testing/utils.py | |
parent | 23a27572994e1c731605c6a78a1564014c2a62c8 (diff) | |
parent | 7fb8b714906a92516905cc0f03e45511bd1ac1ed (diff) | |
download | numpy-3e471304393244eb02215d1601d2396b3f94eb8d.tar.gz |
Merge pull request #3411 from juliantaylor/vectorize-fabs
ENH: Vectorize float absolute operation with sse2
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r-- | numpy/testing/utils.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py index 7a3ea7a1c..2d8d57c5f 100644 --- a/numpy/testing/utils.py +++ b/numpy/testing/utils.py @@ -1580,13 +1580,13 @@ def gen_alignment_data(dtype=float32, type='binary', max_size=24): (o, o, o, s, dtype, 'in place2') yield out[1:], inp1()[:-1], inp2()[:-1], bfmt % \ (o + 1, o, o, s - 1, dtype, 'out of place') - yield out[-1:], inp1()[1:], inp2()[:-1], bfmt % \ + yield out[:-1], inp1()[1:], inp2()[:-1], bfmt % \ (o, o + 1, o, s - 1, dtype, 'out of place') - yield out[-1:], inp1()[:-1], inp2()[1:], bfmt % \ + yield out[:-1], inp1()[:-1], inp2()[1:], bfmt % \ (o, o, o + 1, s - 1, dtype, 'out of place') yield inp1()[1:], inp1()[:-1], inp2()[:-1], bfmt % \ (o + 1, o, o, s - 1, dtype, 'aliased') - yield inp1()[-1:], inp1()[1:], inp2()[:-1], bfmt % \ + yield inp1()[:-1], inp1()[1:], inp2()[:-1], bfmt % \ (o, o + 1, o, s - 1, dtype, 'aliased') - yield inp1()[-1:], inp1()[:-1], inp2()[1:], bfmt % \ + yield inp1()[:-1], inp1()[:-1], inp2()[1:], bfmt % \ (o, o, o + 1, s - 1, dtype, 'aliased') |