Skip to content
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

Fix rinf check in equilib scaling #213

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

mjacobse
Copy link
Collaborator

rinf is the inf norm of all scaled rows, so has length a%m not a%n. Basically same as #211

rinf is the inf norm of all scaled rows, so has length a%m not a%n.
Basically same as ralna#211
@jfowkes jfowkes self-requested a review June 19, 2024 09:09
@jfowkes jfowkes merged commit 1e06b9b into ralna:master Jun 19, 2024
14 checks passed
@mjacobse mjacobse deleted the fix_test_equilib_unsym_check branch June 19, 2024 09:13
mjacobse added a commit to mjacobse/spral that referenced this pull request Jun 19, 2024
Arrays for testing the scaling functions with random matrices were only
allocated once with the maximum dimensions of all possibly generated
matrices. That makes it simple, but unfortunately also has the potential
to hide possible bugs, as seen in ralna#211 and ralna#213. To improve the chance
to detect such bugs, this reallocates the arrays to the exact dimensions
for each current test case.
jfowkes pushed a commit that referenced this pull request Jun 19, 2024
Arrays for testing the scaling functions with random matrices were only
allocated once with the maximum dimensions of all possibly generated
matrices. That makes it simple, but unfortunately also has the potential
to hide possible bugs, as seen in #211 and #213. To improve the chance
to detect such bugs, this reallocates the arrays to the exact dimensions
for each current test case.
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