Skip to content

update the solution before the convergence criteria control flow#32

Merged
michaelasprague merged 1 commit into
OpenFAST:devfrom
rafmudaf:feature/update_solution_before_return
Jul 11, 2017
Merged

update the solution before the convergence criteria control flow#32
michaelasprague merged 1 commit into
OpenFAST:devfrom
rafmudaf:feature/update_solution_before_return

Conversation

@ghost

@ghost ghost commented Jul 7, 2017

Copy link
Copy Markdown

This pull request modifies SUBROUTINE BD_DynamicSolutionGA2 to update the dynamic quantities before entering the control flow for checking convergence rather than after. Since the convergence control flow returns immediately if the convergence criteria is met, this pull request ensures that the solution will be properly updated during the iteration that reaches convergence.

@ghost ghost requested review from HaymanConsulting and michaelasprague July 7, 2017 01:04

@michaelasprague michaelasprague left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The position of this call in the original was clearly in error, and the pull request fixes that.

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