Skip to content

Commit

Permalink
fix of previous commit: not haskey
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerteichgraeber committed Oct 23, 2019
1 parent 4c4fc02 commit 6d9d290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optim_problems/run_opt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function run_opt(ts_data::ClustData,
end
#Setup constraints that bind the capacities of different capacities with each other
#If design variables are provided, this is already done by the provided variables
if haskey(config,"fixed_design_variables")
if !haskey(config,"fixed_design_variables")
setup_opt_intertech_cap!(cep, ts_data, opt_data, config["scale"])
end
# Add existing infrastructure to
Expand Down

0 comments on commit 6d9d290

Please sign in to comment.