Skip to content

fix unintended error when MC analysis reaches end #50

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

Merged
merged 1 commit into from
Oct 10, 2022
Merged

fix unintended error when MC analysis reaches end #50

merged 1 commit into from
Oct 10, 2022

Conversation

Agent6-6-6
Copy link
Contributor

@robbievanleeuwen, this pull request addresses the brentq algorithm fails. message occurring when the intended behaviour at the end of a moment curvature analysis is that the brentq fails intentionally due to the concrete or steel strains being exceeded and the _failure flag being set by service_normal_force_convergence() method.

Will now only raise the warning if the service_normal_force_convergence() method has not set the _failure flag to True.

@Agent6-6-6
Copy link
Contributor Author

refer to #46 for some further context.

@robbievanleeuwen
Copy link
Owner

@Agent6-6-6 thanks for this logic fix!

@robbievanleeuwen robbievanleeuwen merged commit d0db8f5 into robbievanleeuwen:master Oct 10, 2022
@Agent6-6-6 Agent6-6-6 deleted the fix-indended-failure-providing-warning-in-MC-analyses branch October 14, 2022 11:45
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