Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiaanbrand committed Sep 13, 2024
1 parent ba79cb8 commit 10e37d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sylvan_mpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ _mpc_cmp_abs(mpc_srcptr a, mpc_srcptr b)
mpfr_init2(abs_a, MPC_PRECISION);
mpfr_init2(abs_b, MPC_PRECISION);

mpc_abs(abs_a, a, MPC_PRECISION);
mpc_abs(abs_b, b, MPC_PRECISION);
mpc_abs(abs_a, a, MPC_ROUNDING);
mpc_abs(abs_b, b, MPC_ROUNDING);

return mpfr_cmp(abs_a, abs_b);
}
Expand Down

0 comments on commit 10e37d3

Please sign in to comment.