Commit 8664a12e authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug.

parent f72c4578
......@@ -39,7 +39,7 @@ function B = isempty(A)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
B = all(isnan(A.time)) && isnan(A.freq) && isequal(A.ndat,0);
B = all(isnan(A.time(:))) && isnan(A.freq) && isequal(A.ndat,0);
%@test:1
%$ % Instantiate an empty dynDate object
......
Supports Markdown
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