Skip to content

Commit

Permalink
fixed small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
huckl3b3rry87 committed Mar 27, 2017
1 parent 3648cc3 commit af66abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NLOptControl_plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function controlPlot(n::NLOpt,r::Result,s::Settings,idx::Int64,ctr::Int64,args..
end
if s.MPC
# values
temp = [r.dfs_plant[jj][n.state.name[st]] for jj in 1:idx];
temp = [r.dfs_plant[jj][n.control.name[ctr]] for jj in 1:idx];
vals=[idx for tempM in temp for idx=tempM];

# time
Expand Down

0 comments on commit af66abe

Please sign in to comment.