Skip to content

Fix pointer comparison in laed3.c threading threshold - #5957

Merged
martin-frbg merged 1 commit into
OpenMathLib:developfrom
uuiitwp:develop
Aug 4, 2026
Merged

Fix pointer comparison in laed3.c threading threshold#5957
martin-frbg merged 1 commit into
OpenMathLib:developfrom
uuiitwp:develop

Conversation

@uuiitwp

@uuiitwp uuiitwp commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Bug: Pointer comparison instead of value comparison in laed3.c threading threshold

File: interface/lapack/laed3.c

Line: 76

Current code:

if (n >= 64) nthreads = num_cpu_avail(4);

Expected:

if (nval >= 64) nthreads = num_cpu_avail(4);

@martin-frbg martin-frbg added this to the 0.3.35 milestone Aug 4, 2026
@martin-frbg
martin-frbg merged commit acfe406 into OpenMathLib:develop Aug 4, 2026
105 of 106 checks passed
@martin-frbg

Copy link
Copy Markdown
Collaborator

Thank you (I swear I already had this in my queue...)

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.

2 participants