Skip to content

Commit

Permalink
馃摑 Fix doctests in quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Nov 17, 2018
1 parent 7af300d commit 40d74f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ julia> JuMP.optimize!(model)
DocTestSetup = quote
# Now we load in the solution. Using a caching optimizer removes the need to
# load a solver such as GLPK for building the documentation.
mock = JuMP.caching_optimizer(model).optimizer
mock = JuMP.caching_optimizer(model).optimizer.model
MOI.set(mock, MOI.TerminationStatus(), MOI.Success)
MOI.set(mock, MOI.PrimalStatus(), MOI.FeasiblePoint)
MOI.set(mock, MOI.DualStatus(), MOI.FeasiblePoint)
Expand Down

0 comments on commit 40d74f1

Please sign in to comment.