diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2020-03-03 15:02:49 -0800 |
---|---|---|
committer | Ross Barnowski <rossbar@berkeley.edu> | 2020-03-09 10:39:08 -0700 |
commit | c898ff3f0338f2b24b8f4e7d1b4fffc36d3e51c9 (patch) | |
tree | 6dc8b71d58e0f64a85134ff8c93b7988b2b942c2 /numpy/lib/tests/test_function_base.py | |
parent | 6894bbc6d396b87464cbc21516d239d5f94f13b7 (diff) | |
download | numpy-c898ff3f0338f2b24b8f4e7d1b4fffc36d3e51c9.tar.gz |
ENH: Adds a fast path to var for complex input
var currently has a conditional that results in conjugate being
called for the variance calculation of complex inputs.
This leg of the computation is slow. This PR avoids this
computational leg for complex inputs via a type check.
Closes #15684
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions