ols: catch unexpected case

time-shift
Houtan Bastani 2019-01-10 12:37:56 +01:00
parent df713e907b
commit 093dd493d8
No known key found for this signature in database
GPG Key ID: 000094FB955BE169
1 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,8 @@ for i = 1:length(ast)
Xtmp = Xtmp.remove(Xtmp.name{j});
end
end
else
ols_error('didn''t expect to arrive here', jsonmodel{i}.line);
end
if ~isempty(Xtmp)
to_remove = [];