Added missing initialization of returned argument in subsref.

parent 7f752dce
...@@ -84,6 +84,7 @@ switch S(1).type ...@@ -84,6 +84,7 @@ switch S(1).type
case 'struct' case 'struct'
r = dseries2struct(o); r = dseries2struct(o);
case 'initialize' case 'initialize'
r = NaN;
initialize(o); initialize(o);
case {'baxter_king_filter', 'baxter_king_filter_', ... case {'baxter_king_filter', 'baxter_king_filter_', ...
'cumsum','cumsum_', ... 'cumsum','cumsum_', ...
......
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