From a1d8634a7477c6f69469aaa165b3aa528dba9896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20L=C3=B6fberg?= Date: Fri, 30 Sep 2016 11:37:24 +0200 Subject: [PATCH] Better display of optimizer --- extras/@optimizer/display.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/@optimizer/display.m b/extras/@optimizer/display.m index e6ef4b9a..b883507e 100644 --- a/extras/@optimizer/display.m +++ b/extras/@optimizer/display.m @@ -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