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

[Test] Fix MOI.objective_expr(::InvalidEvaluator) #2569

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

odow
Copy link
Member

@odow odow commented Oct 27, 2024

Even though NaN is a Float64 literal, :(NaN) doesn't do what it looks like.

julia> dump(:(NaN))
Symbol NaN

julia> dump(:(1.0))
Float64 1.0

julia> dump(:($NaN))
Float64 NaN

https://github.com/jump-dev/MathOptInterface.jl/actions/runs/11544744456

@odow odow merged commit 2a0fcd3 into master Oct 28, 2024
67 of 72 checks passed
@odow odow deleted the od/nan-evaluator branch October 28, 2024 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant