Remove warning.

silicon
Stéphane Adjemian (Ryûk) 2023-03-04 17:52:50 +01:00
parent 0b9141fdca
commit f6a76066f9
Signed by: stepan
GPG Key ID: 295C1FE89E17EB3C
1 changed files with 0 additions and 1 deletions

View File

@ -86,7 +86,6 @@ for it = 1:length(M_.mapping.(variablename).eqidx)
expression = TransformExpandedExpr(expression);
rhs = strrep(rhs, ['+var_expectation(model_name = ' models{idx} ')'], expression);
elseif ~isfield(M_, 'pac') && ~isfield(M_, 'var_expectation')
warning('No VAR or PAC expectations found, continuing without expansion');
withexpansion = false;
end
end