Skip to content

bug with selection based on genome completeness #2

@ziheng-yang

Description

@ziheng-yang

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions