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 crash with some compiler in case of KLU singular error #39

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

geofjamg
Copy link
Member

@geofjamg geofjamg commented Jun 27, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

With some compiler in release mode, we crash because a method supposed to return a double value does not return anything.
Using previous build environnement we never add any crash but using the manylinux2014 and its default gcc version we get a sigabort.

What is the new behavior (if this is a feature change)?
We return whatever value (0) because on Java side an exception in thrown and the value will never be used.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
@geofjamg geofjamg requested review from jeandemanged and olperr1 and removed request for jeandemanged June 27, 2024 12:34
@geofjamg geofjamg merged commit 4639a05 into main Jun 27, 2024
6 checks passed
@geofjamg geofjamg deleted the fix_crash_klu_singular branch June 27, 2024 18:08
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