sur: clean up error messages

time-shift
Houtan Bastani 2019-02-11 15:23:36 +01:00
parent c8d04e93b9
commit ac171747cd
No known key found for this signature in database
GPG Key ID: 000094FB955BE169
1 changed files with 2 additions and 2 deletions

View File

@ -82,9 +82,9 @@ if ~isempty(param_names)
if isempty(pidxs(i)) if isempty(pidxs(i))
if ~isempty(eqtags) if ~isempty(eqtags)
error(['Could not find ' param_names{i} ... error(['Could not find ' param_names{i} ...
' in the provided equations specified by ' strjoin(eqtags, ',')]); ' in the equations specified by ' strjoin(eqtags, ',')]);
end end
error('Unspecified error. Please report'); error('Couldn''t find parameter in equations');
end end
end end
subcols = setdiff(1:X.vobs, pidxs); subcols = setdiff(1:X.vobs, pidxs);