Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
version change
Browse files Browse the repository at this point in the history
  • Loading branch information
KimHe committed Jul 27, 2019
1 parent 51c3218 commit 8515a9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions OptAlgo.m
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@

% Check the boundary limiation
newpar( newpar < opt.bounds(1, :) ) = opt.bounds(1, newpar < opt.bounds(1, :));
newpar( newpar > opt.bounds(2, :) ) = opt.bounds(1, newpar > opt.bounds(2, :));
newpar( newpar > opt.bounds(2, :) ) = opt.bounds(2, newpar > opt.bounds(2, :));

% Calculate the objective value of the new proposal
newSS = feval( OptAlgo.FUNC, OptAlgo.pTransfer('exp', newpar) );
Expand Down Expand Up @@ -785,7 +785,7 @@

% Check the boundary limitation of the new generated point
newpar2(newpar2 < opt.bounds(1, :)) = opt.bounds(1, newpar2 < opt.bounds(1, :));
newpar2(newpar2 > opt.bounds(2, :)) = opt.bounds(1, newpar2 > opt.bounds(2, :));
newpar2(newpar2 > opt.bounds(2, :)) = opt.bounds(2, newpar2 > opt.bounds(2, :));

% Calculate the objective value of the new proposal
newSS2 = feval( OptAlgo.FUNC, OptAlgo.pTransfer('exp', newpar2) );
Expand Down Expand Up @@ -982,7 +982,7 @@

% Check the boundary limiation
% oldpar(oldpar < opt.bounds(1, :)) = opt.bounds(1, oldpar < opt.bounds(1, :));
% oldpar(oldpar > opt.bounds(2, :)) = opt.bounds(1, oldpar > opt.bounds(2, :));
% oldpar(oldpar > opt.bounds(2, :)) = opt.bounds(2, oldpar > opt.bounds(2, :));

% Get the resudual value and Jacobian matrix of the guessing point
Jac = [];
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.11
2.12

0 comments on commit 8515a9d

Please sign in to comment.