diff --git a/src/ufo.cpp b/src/ufo.cpp index b73e8a6..aec0a48 100644 --- a/src/ufo.cpp +++ b/src/ufo.cpp @@ -128,8 +128,8 @@ int main(int argc, const char** argv) for (int y = -1; y <= 1; y++) for (int z = -1; z <= 1; z++) { - auto this_qpoint = (current_qpoint - + Eigen::Matrix{{x}, {y}, {z}}.cast()).eval(); + auto this_qpoint = current_qpoint + + Eigen::Matrix{{x}, {y}, {z}}.cast(); auto this_score = score(this_qpoint); if (this_score < min_score) {