changeset 9828:03260ceaaa16 octave-forge

ga: add TODO comment in ga
author slackydeb
date Fri, 23 Mar 2012 01:58:48 +0000
parents 43778ae6cefe
children 51a840d455ee
files main/ga/inst/ga.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main/ga/inst/ga.m	Fri Mar 23 01:58:36 2012 +0000
+++ b/main/ga/inst/ga.m	Fri Mar 23 01:58:48 2012 +0000
@@ -255,6 +255,7 @@
 %!test x = ga (struct ("fitnessfcn", @(x) rastriginsfcn (x(1:2)) + ((x(3) ** 2) - (cos (2 * pi * x(3))) + 1) + (x(4) ** 2), "nvars", 4, "options", gaoptimset ()));
 
 
+# TODO: convert to simple xtests
 ## nvars == 1    and    min == zeros (1, nvars)
 
 %!test assert (ga (@(x) x ** 2, 1), 0, 1e-3);