Fix syntax error in a constexpr function