Skip to content

Commit

Permalink
updated installer
Browse files Browse the repository at this point in the history
  • Loading branch information
giofantuzzi committed Jan 18, 2017
1 parent 62a26cd commit de69201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install_sdpa_gmp.m
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function install_sdpa_gmp(varargin)
% make a backup copy of the original YALMIP file
fpath = fileparts(fname);
success = copyfile(fname,[fpath,filesep,'definesolvers_original.m']);
if ~success;
if ~success
error('Could not back up the file definesolvers.m')
end

Expand All @@ -112,7 +112,7 @@ function install_sdpa_gmp(varargin)
% ----------------------------------------------------------------------- %
fpath = fileparts(which('callsdpa'));
success = movefile('callsdpagmp.m',[fpath,filesep,'callsdpagmp.m']);
if ~success;
if ~success
error('Could not copy callsdpagmp.m to the correct location.')
end

Expand Down

0 comments on commit de69201

Please sign in to comment.