diff --git a/poincare/src/logarithm.cpp b/poincare/src/logarithm.cpp index 52d275150..c7b991272 100644 --- a/poincare/src/logarithm.cpp +++ b/poincare/src/logarithm.cpp @@ -212,7 +212,7 @@ Expression * Logarithm::templatedApproximate(Context& context, AngleUnit angleUn if (x->type() == Type::Complex && n->type() == Type::Complex) { Complex * xc = static_cast *>(x); Complex * nc = static_cast *>(n); - result = Division::compute(computeOnComplex(*nc, angleUnit), computeOnComplex(*xc, angleUnit)); + result = Division::compute(computeOnComplex(*xc, angleUnit), computeOnComplex(*nc, angleUnit)); } delete x; delete n;