ViktorWase / Cgpy

A Python library for Cartesian genetic programming.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in fast setup of get_mutated_copy

ViktorWase opened this issue · comments

The last line on get_mutated_copy is
new_cgp = CGP(self.dims, self.op_table, new_gene, nr_of_parameters=self.nr_of_parameters, fast_setup = not self.setup_used_nodes_list)

But setup_used_nodes_list is a function, and this just doesn't make any sense. I think it should be has_setup_used_nodes.