reporting: simplify check
parent
56d284d30a
commit
2dd68d4ecd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue