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

adds a nan check to xc[i] #12263

Merged
merged 1 commit into from Oct 29, 2019
Merged

Conversation

antequ
Copy link
Contributor

@antequ antequ commented Oct 29, 2019

Recently this PR was merged into master to add NaN checks for the integrator
#12217

In the PR, the comments for IsUpdateZero() state that it will return false if NaNs are detected; however, there is a logical mistake in the implementation, where if all xc[i] are NaN and dxc[i] are normal, it will return true. This change adds a NaN check for xc[i]s so that the code behaves as expected.

The original issue was #12201


This change is Reviewable

Copy link
Collaborator

@edrumwri edrumwri left a comment

Choose a reason for hiding this comment

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

:lgtm: +@sammy-tri for platform review

Reviewed 1 of 1 files at r1.
Reviewable status: LGTM missing from assignee sammy-tri(platform)

Copy link
Contributor

@sammy-tri sammy-tri left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all discussions resolved, LGTM from assignees sammy-tri(platform),edrumwri

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.

None yet

3 participants