reporting: simplify check

remove-priordens
Houtan Bastani 2014-05-16 16:35:18 +02:00
parent 56d284d30a
commit 2dd68d4ecd
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ function o = writeTableFile(o, pg, sec, row, col)
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
ne = length(o.series);
if length(o.series) == 0
if ne == 0
warning('@report_table.write: no series to plot, returning');
return;
end