Skip to content

example_dnn_nsga2 does not link #6

Description

@Antymon

Recently added example_dnn_nsga2 causes 2 types of errors during the linking under g++:

../modules/nn2/example_dnn_nsga2.cpp: In member function 'void FitXOR<Params, Exact>::eval(Indiv&)':
../modules/nn2/example_dnn_nsga2.cpp:156:25: error: 'powf' is not a member of 'std'
fit -= std::powf(outf[0] - outputs[i], 2.0);

../modules/nn2/example_dnn_nsga2.cpp:216:1: required from here
/git/sferes2/sferes/ea/crowd.hpp:171:23: error: ... FitXOR, Params> >' has no member named 'data'
assert((*it)->data().size() == (*it2)->data().size());

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions