DynareTeam/dynare — pull request #615 by JohannesPfeifer (2014-02-15 16:04:03+00:00)
Title: Change disp() to errors in var_sample_moments.m

Otherwise, the data moments that are required for estimating DSGE-VARs are set to an empty matrix instead of aborting. This will then lead to a cryptic crash in initial_estimation_checks.m due to matrix dimensions not agreeing.