Permalink
Browse files

Fixed a bug in MATLAB function csdp.m that was writing an incorrect p…

…aram.csdp file out.
  • Loading branch information...
brianborchers committed Sep 18, 2017
1 parent 35f0345 commit deccd11ea05afdd17e73297831b78f7686a4bdb0
Showing with 4 additions and 4 deletions.
  1. +4 −4 matlab/csdp.m
@@ -143,15 +143,15 @@
end

if (isfield(pars,'perturbobj')),
fprintf(fid,'printlevel= %d\n',pars.perturbobj);
fprintf(fid,'perturbobj= %d\n',pars.perturbobj);
else
fprintf(fid,'printlevel=%d\n',1);
fprintf(fid,'perturbobj=%d\n',1);
end

if (isfield(pars,'fastmode')),
fprintf(fid,'printlevel= %d\n',pars.fastmode);
fprintf(fid,'fastmode=%d\n',pars.fastmode);
else
fprintf(fid,'printlevel=%d\n',0);
fprintf(fid,'fastmode=%d\n',0);
end

%

0 comments on commit deccd11

Please sign in to comment.