[galib] Bug in example 11

Paul Smith phhs80 at gmail.com
Mon May 28 15:42:56 EDT 2012

On Sat, May 26, 2012 at 3:02 PM, Paul Smith <phhs80 at gmail.com> wrote:
> I am studying example 11 of GALib, which works fine as it is. However,
> when I replace the line
> GASteadyStateGA ga(genome);
> with
> GADemeGA ga(genome);
> ga.nPopulations(4);
> the program crashes (with the crash point in the objective function).
> Do you confirm this as a bug? Is there some workaround?

I forgot to mention that by Example 11 I mean the following example:


Any workaround?


More information about the galib mailing list