g_completeness in control file has no effect, and selection based on genome-incompleteness is always applied.
And selection based on genome-completeness is incorrectly implemented.
the following line
fitness[1-curr_gen][ind] = max2(c[1], c[1]) / ((double)nchromo * nloci);
should be
fitness[1-curr_gen][ind] = max2(c[0], c[1]) / ((double)nchromo * nloci);
g_completeness in control file has no effect, and selection based on genome-incompleteness is always applied.
And selection based on genome-completeness is incorrectly implemented.
the following line
fitness[1-curr_gen][ind] = max2(c[1], c[1]) / ((double)nchromo * nloci);
should be
fitness[1-curr_gen][ind] = max2(c[0], c[1]) / ((double)nchromo * nloci);