Implement movement with the mouse.

This commit is contained in:
2018-04-11 13:03:34 +02:00
parent 0145391450
commit 63e487afce
3 changed files with 44 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ static void loadSimulationData(const Options &options)
if (optLabels) {
auto& labels = *optLabels;
for (const auto& result : results) {
auto& last = *result.rbegin();
auto &last = *result.rbegin();
auto bestIndex = std::distance(last.data(), max_element(last.data(), last.data() + last.numEntries()));
LOG(INFO) << "Got answer: " << labels[bestIndex] << endl;
}