Fix precision issue.

Introduced in patch 8b197bf71c which incidentally reduced the precision to six digits.
mr#2067
Stéphane Adjemian (Charybdis) 2022-06-17 16:44:51 +02:00
parent a2d0ac3586
commit f19ab66bab
Signed by: stepan
GPG Key ID: 295C1FE89E17EB3C
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ end
calibration = '';
for i=1:rows(pArray)
calibration = sprintf('%s%s = %f;\n', calibration, pArray{i,1}, pArray{i,2});
calibration = sprintf('%s%s = %s;\n', calibration, pArray{i,1}, num2str(pArray{i,2}, 16));
end
% Move the endogenous variables which are not LHS of an equation