Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed May 10, 2023
1 parent 051a5fc commit b0b487b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/dualize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,7 @@ function dualize(
return dual_problem
end

function dualize(
model::JuMP.Model,
optimizer_constructor = nothing;
kwargs...
)
function dualize(model::JuMP.Model, optimizer_constructor = nothing; kwargs...)
mode = JuMP.mode(model)
if mode != JuMP.AUTOMATIC
error("Dualization does not support solvers in $(mode) mode")
Expand Down

0 comments on commit b0b487b

Please sign in to comment.