Skip to content

GA.cpp第40行中有一个0.0作为除数的小bug。 #2

Description

@DeLin1001

std::pair<std::vector , float> best(std::vector(0.0),-1.0/0.0);
是未定义行为,部分编译器不允许该操作

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions