Mercurial > forge
changeset 9711:d221e75701b0 octave-forge
ga: improve error message
author | slackydeb |
---|---|
date | Thu, 15 Mar 2012 02:23:42 +0000 |
parents | 7df2e3ca6195 |
children | 4f0440200a4a |
files | main/ga/inst/__ga_scores__.m |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/main/ga/inst/__ga_scores__.m Thu Mar 15 02:23:29 2012 +0000 +++ b/main/ga/inst/__ga_scores__.m Thu Mar 15 02:23:42 2012 +0000 @@ -14,7 +14,7 @@ ## along with this program; If not, see <http://www.gnu.org/licenses/>. ## Author: Luca Favatella <slackydeb@gmail.com> -## Version: 5.5 +## Version: 5.5.1 function Scores = __ga_scores__ (problem, Population) if (strcmp (problem.options.Vectorized, "on")) ## using vectorized evaluation @@ -28,8 +28,7 @@ error ("'Vectorized' option must be 'on' or 'off'"); endif if (strcmp (problem.options.UseParallel, "always")) ## using parallel evaluation - error ("TODO: implement parallel evaluation of objective \ - function"); ## TODO + error ("TODO: implement parallel evaluation of objective function"); else ## using serial evaluation (i.e. loop) if (! strcmp (problem.options.UseParallel, "never")) error ("'UseParallel' option must be 'always' or 'never'");