changeset 9840:f21fb48bc6a0 octave-forge

ga: improve error message
author slackydeb
date Sat, 24 Mar 2012 16:32:37 +0000
parents 6141e0a2b220
children 68a47b65f41b
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	Sat Mar 24 16:32:25 2012 +0000
+++ b/main/ga/inst/__ga_scores__.m	Sat Mar 24 16:32:37 2012 +0000
@@ -14,13 +14,12 @@
 ## along with this program; If not, see <http://www.gnu.org/licenses/>.
 
 ## Author: Luca Favatella <slackydeb@gmail.com>
-## Version: 5.5.1
+## Version: 5.5.2
 
 function Scores = __ga_scores__ (problem, Population)
   if (strcmp (problem.options.Vectorized, "on")) ## using vectorized evaluation
     if (strcmp (problem.options.UseParallel, "always"))
-      warning ("'Vectorized' option is 'on': ignoring 'UseParallel' \
-          option, even if it is 'always'");
+      warning ("'Vectorized' option is 'on': ignoring 'UseParallel' option, even if it is 'always'");
     endif
     Scores = problem.fitnessfcn (Population);
   else ## not using vectorized evaluation