diff options
author | jason <jason@8a072113-8704-0410-8d35-dd094bca7971> | 2009-03-14 20:06:19 +0000 |
---|---|---|
committer | jason <jason@8a072113-8704-0410-8d35-dd094bca7971> | 2009-03-14 20:06:19 +0000 |
commit | b7a2e4b12f44d6f3d308504b65ed973dd3a40b2d (patch) | |
tree | 5d96d6ee9af31229378b9da863cdccb3e1850b27 /SRC/csyequb.f | |
parent | 10b4e113aa1f956449b03a726b46a1f165316a25 (diff) | |
download | lapack-b7a2e4b12f44d6f3d308504b65ed973dd3a40b2d.tar.gz lapack-b7a2e4b12f44d6f3d308504b65ed973dd3a40b2d.tar.bz2 lapack-b7a2e4b12f44d6f3d308504b65ed973dd3a40b2d.zip |
Fix ZLARFP and CLARFP optimizations when the vector is zero.
The x == zero branch ignored complex alphas. The code still
functioned, but it scaled the entire zero vector. Now that I think of
it, I should scan upwards for the scaling, too. That will be a
separate enhancement patch; this is just the bug fix.
This patch also fixes an accidental precision shortening in ZLARFP,
which used CMPLX in the dead branch.
Reported by Igor Zhuravlov on the LAPACK web goo thingy, currently at
http://icl.cs.utk.edu/lapack-forum/viewtopic.php?t=924
Also lead to finding a related (but different) error in the LAWN and
(accepted, still in editing) SISC paper.
Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
Diffstat (limited to 'SRC/csyequb.f')
0 files changed, 0 insertions, 0 deletions