Skip to content

Commit

Permalink
Merge pull request #89 from anthofflab/fix-setleftoverparameters
Browse files Browse the repository at this point in the history
Add missing setbestguess call in setleftoverparameters
  • Loading branch information
davidanthoff authored Feb 11, 2017
2 parents 2f8bf04 + ebf655c commit 0730fac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Mimi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ function setleftoverparameters(m::Model,parameters::Dict{Any,Any})
for name in fieldnames(c[2].Parameters)
if !in(string(c[1])*string(name), m.parameters_that_are_set)
connectparameter(m, c[1], name, name)
setbestguess(m.parameters[Symbol(lowercase(string(name)))])
end
end
end
Expand Down

0 comments on commit 0730fac

Please sign in to comment.