Commit 25d8ea8b authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: @series use size instead of numel

parent 9417bd11
...@@ -18,6 +18,6 @@ function s = getName(o) ...@@ -18,6 +18,6 @@ function s = getName(o)
% You should have received a copy of the GNU General Public License % You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>. % 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(); s = o.data(1).name();
end end
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment