Skip to content

Commit

Permalink
Fix typo in EvaluateMPC
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Jan 19, 2017
1 parent b0ab687 commit ceed155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symengine/complex_mpc.cpp
Expand Up @@ -889,7 +889,7 @@ class EvaluateMPC : public Evaluate
const Basic &x) const override
{
SYMENGINE_ASSERT(is_a<ComplexMPC>(x))
mpfr_class t(down_cast<const ComplexMPC &>(x).as_mpc().get_prec());
mpc_class t(down_cast<const ComplexMPC &>(x).as_mpc().get_prec());
eval_mpc(t.get_mpc_t(), c, MPFR_RNDN);
return complex_mpc(std::move(t));
}
Expand Down

0 comments on commit ceed155

Please sign in to comment.