Skip to content
Snippets Groups Projects
Commit 8664a12e authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug.

parent f72c4578
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment