Skip to content
Snippets Groups Projects
Commit 03e30678 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: @series use size instead of numel

parent 6e9be0fe
No related branches found
No related tags found
No related merge requests found
......@@ -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
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment