Skip to content

Commit

Permalink
Merge pull request #140 from lbl-srg/issue139_errFigure
Browse files Browse the repository at this point in the history
Remove erroneous figure creation.
  • Loading branch information
dhblum authored Jun 12, 2018
2 parents 11db0f1 + 38372da commit b560009
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mpcpy/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,6 @@ def _simulate_initial(self, Optimization):
self.internal_data = self.Model.internal_data;
self.control_data = self.Model.control_data;
if type(Optimization._problem_type) is _ParameterEstimate:
plt.figure(1)
self.other_inputs = self.Model.other_inputs;
self.opt_input_names = self._init_input_names;
# Otherwise inputs set by write control mop
Expand Down

0 comments on commit b560009

Please sign in to comment.