reporting: @series use size instead of numel

time-shift
Houtan Bastani 2013-03-29 15:11:25 +01:00
parent 9417bd1106
commit 25d8ea8bfc
1 changed files with 1 additions and 1 deletions

View File

@ -18,6 +18,6 @@ function s = getName(o)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
assert(~isempty(o.data) && numel(o.data) == 1);
assert(~isempty(o.data) && size(o.data, 2) == 1);
s = o.data(1).name();
end