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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RomApp] Fixing bug in ECM #11611

Merged
merged 2 commits into from
Sep 28, 2023
Merged

[RomApp] Fixing bug in ECM #11611

merged 2 commits into from
Sep 28, 2023

Conversation

Rbravo555
Copy link
Member

This PR fixes a bug found in the Empirical Cubature Method which was introduced in a recent addition (#11577)

馃摑 Description
An iteration counter inside the ECM was used to monitor whether the initial candidate set is not converging. However this was done incorrectly. The idea was that after a "large" number of unsuccessful iterations (this is still hard-coded to 1000), the algorithm should be considered not succesful. The counter now works correctly

Another change was performed to the RomManager in case a candidate set was passed and, it was not successful. Then the algorithm should be invoked again without any candidate set. This was done incorrectly in the RomManger due to a typo.

馃啎 Changelog

  • Added the correct unsuccessful iteration counter to the ECM
  • Added the correct invocation to the ECM to the RomManager, if the algorithm did not converge

any simulation containing more than k elements was going to fail even if it was converging
@Rbravo555 Rbravo555 added FastPR This Pr is simple and / or has been already tested and the revision should be fast ROM labels Sep 26, 2023
@Rbravo555 Rbravo555 requested a review from a team as a code owner September 26, 2023 18:04
Copy link
Contributor

@SADPR SADPR left a comment

Choose a reason for hiding this comment

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

Fast PR.

@SADPR SADPR merged commit 9851976 into master Sep 28, 2023
11 checks passed
@SADPR SADPR deleted the RomApp_bugECM branch September 28, 2023 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FastPR This Pr is simple and / or has been already tested and the revision should be fast ROM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants