Skip to content

NaN not propagating in DCOMBSSQ and SCOMBSSQ#390

Merged
julielangou merged 2 commits into
Reference-LAPACK:masterfrom
pdalgd:master
Feb 23, 2020
Merged

NaN not propagating in DCOMBSSQ and SCOMBSSQ#390
julielangou merged 2 commits into
Reference-LAPACK:masterfrom
pdalgd:master

Conversation

@pdalgd

@pdalgd pdalgd commented Feb 21, 2020

Copy link
Copy Markdown
Contributor

S/DCOMBSSQ do not propagate NaN in some cases. The problem case is V1(1)=V2(1)=0 with V2(2)=NaN. Without the fix (the inner ELSE), control passes through without ever looking at V2(2). This was discovered in R (www.r-project.org), where a Frobenius norm (DLANGE) of the matrix

0 NA 0
0 0 -1

returns 1 with LAPACK 3.9.0 but gave NA with earlier versions.

@pdalgd pdalgd changed the title Add files via upload NaN not propagating in DCOMBSSQ and SSCOMBSSQ Feb 21, 2020
@codecov

codecov Bot commented Feb 21, 2020

Copy link
Copy Markdown

Codecov Report

Merging #390 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #390      +/-   ##
==========================================
+ Coverage   83.24%   83.24%   +<.01%     
==========================================
  Files        1808     1808              
  Lines      170181   170183       +2     
==========================================
+ Hits       141664   141666       +2     
  Misses      28517    28517
Impacted Files Coverage Δ
SRC/scombssq.f 100% <100%> (ø) ⬆️
SRC/dcombssq.f 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e8ef54b...5114a2e. Read the comment docs.

@pdalgd pdalgd changed the title NaN not propagating in DCOMBSSQ and SSCOMBSSQ NaN not propagating in DCOMBSSQ and SCOMBSSQ Feb 21, 2020
@julielangou julielangou merged commit 6a940b9 into Reference-LAPACK:master Feb 23, 2020
@julielangou

Copy link
Copy Markdown
Contributor

Thanks!

@martin-frbg

Copy link
Copy Markdown
Collaborator

As a side effect this added a spurious .DS_Store file to the base directory (some kind of directory attribute storage on OSX apparently)

@langou

langou commented Feb 23, 2020

Copy link
Copy Markdown
Contributor

Fixed with 0b06227

@pdalgd

pdalgd commented Feb 23, 2020 via email

Copy link
Copy Markdown
Contributor Author

christoph-conrads pushed a commit to christoph-conrads/lapack that referenced this pull request May 23, 2021
NaN not propagating in DCOMBSSQ and SCOMBSSQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants