]> ruin.nu Git - germs.git/blobdiff - src/main.cpp
a little more refactoring, name might just as well return const char* since it's...
[germs.git] / src / main.cpp
index 90d3564d3d39fc08ae7fc48cb45610b146703f5d..94109b4e4cce83e47329ce482186e44b740722f7 100644 (file)
@@ -77,7 +77,7 @@ int main(int argc, char** argv){
        GeneSorter::ActionList al = so.sort(go,model);
 
        for (GeneSorter::ActionList::iterator sa = al.begin(); sa != al.end(); ++sa){
-               cout << "Action: " << sa->toString() << " model score: " << model.score(*sa) << endl;
+               cout << "Action: " << sa->toString() << " model score: " << model.score(*sa,go) << endl;
        }
        //TODO: Print result
        return EXIT_SUCCESS;