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

rd_grav_survey_assert_RPORV has infinite loop if no init_porv > 0 #962

Closed
eivindjahren opened this issue Apr 9, 2024 · 0 comments · Fixed by #1032
Closed

rd_grav_survey_assert_RPORV has infinite loop if no init_porv > 0 #962

eivindjahren opened this issue Apr 9, 2024 · 0 comments · Fixed by #1032
Assignees
Labels

Comments

@eivindjahren
Copy link
Collaborator

eivindjahren commented Apr 9, 2024

The problem is that it will try to check 100 random non-zero points, but there may be fewer than 100 non-zero points in which case it is just an infinite loop:

int check_points = 100;

@eivindjahren eivindjahren added christmas-review Issues and PRs for Christmas review and removed christmas-review Issues and PRs for Christmas review labels Dec 13, 2024
@sondreso sondreso moved this to Todo in SCOUT Jan 6, 2025
@eivindjahren eivindjahren moved this from Todo to Ready for Review in SCOUT Jan 6, 2025
@github-project-automation github-project-automation bot moved this from Ready for Review to Done in SCOUT Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant