Skip to content

add NaN checks for input matrix A in GEEV, return error if NaN are in matrix A, NaNs in input are detected with LANGE (needed for scaling) #1136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

langou
Copy link
Contributor

@langou langou commented Jun 15, 2025

This adds a NaN check on the entries of the input matrix A in GEEV,

GEEV would now return error INFO = -4 if there are NaNs in matrix A in input.

NaNs in input are detected with LANGE. Since LANGE is called for scaling anyway, there is no extra cost.

This follows @angsch's suggestion in issue #1128. This uses DISNAN instead of DISFINITE (as initially suggested). I am not opposed to create a DISFINITE function and use it, but I think it needs more decisions and consensus.

See as well PR#471 for a "similar" behavior.

@langou langou changed the title Try adding parts of @angsch's suggestion add NaN checks for input matrix A in GEEV, return error if NaN are in matrix A, NaNs in input are detected with LANGE (needed for scaling) Jun 15, 2025
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.

1 participant