Bug 2037441 - openblas-0.3.19-1.fc35.x86_64 breaks backward substitution in R
Summary: openblas-0.3.19-1.fc35.x86_64 breaks backward substitution in R
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openblas
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-05 16:20 UTC by Hannes Riebl
Modified: 2022-08-26 05:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-26 05:31:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Hannes Riebl 2022-01-05 16:20:58 UTC
Description of problem:
Backward substitution for triangular systems of linear equations as implemented in the function backsolve() in R returns erroneous results with openblas-0.3.19-1.fc35.x86_64.

Version-Release number of selected component (if applicable):
openblas-0.3.19-1.fc35.x86_64

How reproducible:
Always on my system

Steps to Reproduce:
Run the following R code:

n <- 8

R <- diag(n)
b <- rep(1, n)
x <- backsolve(R, b)

drop(R %*% x)
## returns:
## [1] 1 0 0 0 0 0 0 1
## but should return:
## [1] 1 1 1 1 1 1 1 1

Actual results:
A vector of ones and zeros in the example above, but backsolve() also breaks with other data.

Expected results:
A vector of only ones in the example above.

Additional info:
I think this is a pretty critical bug for scientific computing on Fedora.

Comment 1 Susi Lehtola 2022-01-05 17:03:35 UTC
Please test https://bodhi.fedoraproject.org/updates/FEDORA-2022-438a756bb3

Comment 2 Hannes Riebl 2022-01-05 18:35:43 UTC
Cool, seems to be fixed! Thank you!


Note You need to log in before you can comment on or make changes to this bug.