Skip to content

Commit f47e401

Browse files
fix warning in DebugFeasibility (#546)
1 parent 369e297 commit f47e401

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plans/debug.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ mutable struct DebugFeasibility <: DebugAction
456456
format::Vector{Union{String, Symbol}}
457457
io::IO
458458
function DebugFeasibility(format = ["feasible: ", :Feasible]; io::IO = stdout, atol = NaN)
459-
isnan(atol) && (@warn "Providing atol= directly to DebugFeasibility is deprecated. Use the keyword for the ConstrainedObjective instead. The value provided here ($(atol)) is ignored")
459+
isnan(atol) || (@warn "Providing atol= directly to DebugFeasibility is deprecated. Use the keyword for the ConstrainedObjective instead. The value provided here ($(atol)) is ignored")
460460
return new(format, io)
461461
end
462462
end

0 commit comments

Comments
 (0)