From: <sla...@us...> - 2012-03-15 02:23:48
|
Revision: 9897 http://octave.svn.sourceforge.net/octave/?rev=9897&view=rev Author: slackydeb Date: 2012-03-15 02:23:42 +0000 (Thu, 15 Mar 2012) Log Message: ----------- ga: improve error message Modified Paths: -------------- trunk/octave-forge/main/ga/inst/__ga_scores__.m Modified: trunk/octave-forge/main/ga/inst/__ga_scores__.m =================================================================== --- trunk/octave-forge/main/ga/inst/__ga_scores__.m 2012-03-15 02:23:29 UTC (rev 9896) +++ trunk/octave-forge/main/ga/inst/__ga_scores__.m 2012-03-15 02:23:42 UTC (rev 9897) @@ -14,7 +14,7 @@ ## along with this program; If not, see <http://www.gnu.org/licenses/>. ## Author: Luca Favatella <sla...@gm...> -## 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'"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |