Skip to content

Check algo parameters for nan values - #650

Closed
jschueller wants to merge 1 commit into
esa:masterfrom
jschueller:issue277
Closed

jschueller wants to merge 1 commit into
esa:masterfrom
jschueller:issue277

Conversation

@jschueller

Copy link
Copy Markdown
Contributor

Closes #277

@darioizzo

Copy link
Copy Markdown
Member

I see what you are doing here, but I kind of dislike to introduce such an idiom in pagmo2 for algorithm checks. I would rather have something more "readible". Like a straight isnan check.

@darioizzo

Copy link
Copy Markdown
Member

Will work on something.

@darioizzo darioizzo closed this Sep 25, 2026
@jschueller

Copy link
Copy Markdown
Contributor Author

you need isfinite to check against both inf and nan too then

@jschueller
jschueller deleted the issue277 branch September 25, 2026 11:40
@darioizzo

Copy link
Copy Markdown
Member

#651 indeed uses isfinite

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.

Flaky floating-point parameter checks in algos/probs

2 participants