diff --git a/math/power_of_two.cpp b/math/power_of_two.cpp index 85a2bc65a..96612d790 100644 --- a/math/power_of_two.cpp +++ b/math/power_of_two.cpp @@ -46,9 +46,9 @@ int power_of_two(int n) { if (result == 0) { return 1; - } else { - return 0; } + + return 0; } } // namespace math