Skip to content

Commit

Permalink
Better display of optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
johanlofberg committed Sep 30, 2016
1 parent 17dd42a commit a1d8634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/@optimizer/display.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function display(X)
for i = 1:length(X.dimoutOrig)
m = m + prod(X.dimoutOrig{i});
end
text = ['Optimizer object with ' num2str(n) ' inputs and ' num2str(m) ' outputs.'];
text = ['Optimizer object with ' num2str(n) ' inputs (' num2str(length(X.diminOrig)) ' blocks) and ' num2str(m) ' outputs (' num2str(length(X.dimoutOrig)) ' blocks).'];
if isempty(X.ParametricSolution)
text = [text ' Solver: ' upper(X.model.solver.tag)];
else
Expand Down

0 comments on commit a1d8634

Please sign in to comment.