Skip to content

Commit

Permalink
Update line-reflection.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kamyu104 authored Jun 11, 2016
1 parent d7dafa1 commit c78f7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C++/line-reflection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Solution {
const auto mid = left + right;
for (const auto& kvp : groups_by_y) {
for (const auto& x : kvp.second) {
if (x != mid - x && kvp.second.count(mid - x) == 0) {
if (kvp.second.count(mid - x) == 0) {
return false;
}
}
Expand Down

0 comments on commit c78f7c2

Please sign in to comment.