Yes so the issue was this throws a `runtime_error("Not implemented.")` in case of `Rational` b.
This is in `rational.h` definition of `pow`