fix: power_of_two algorithm redundant conditional 'else'

This commit is contained in:
Carlos Zoft
2022-02-10 13:18:11 -03:00
parent 27ced495bf
commit c4319f7b36

View File

@@ -46,9 +46,9 @@ int power_of_two(int n) {
if (result == 0) {
return 1;
} else {
return 0;
}
return 0;
}
} // namespace math