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 HydroDyn linearization matrix multiplication using unallocated arrays #634

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

bjonkman
Copy link
Contributor

Feature or improvement description
HydroDyn was calling linearization routines for SS_Radiation and SS_Excitation without checking if those modules were ever initialized. This resulted in doing some matrix multiplications with unallocated matrices.

Related issue, if one exists
#620

Impacted areas of the software
Linearization with the HydroDyn module

Additional supporting information
The Windows Intel compiler seems to return an empty matrix, but some other compilers give a seg fault.

I haven't tested this, so someone who is more familiar with HydroDyn should review before merging.

Test results, if applicable
This should not change any results.

Copy link
Collaborator

@andrew-platt andrew-platt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks correct to me. Thanks for fixing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants