summaryrefslogtreecommitdiff
path: root/src/ui_ui_sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_ui_sub.c')
-rw-r--r--src/ui_ui_sub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui_ui_sub.c b/src/ui_ui_sub.c
index e1dbdb1..597ee05 100644
--- a/src/ui_ui_sub.c
+++ b/src/ui_ui_sub.c
@@ -27,8 +27,8 @@ mpc_ui_ui_sub (mpc_ptr rop, unsigned long int re, unsigned long int im,
{
int inex_re, inex_im;
- inex_re = mpfr_ui_sub (MPC_RE (rop), re, MPC_RE (op), MPC_RND_RE (rnd));
- inex_im = mpfr_ui_sub (MPC_IM (rop), im, MPC_IM (op), MPC_RND_IM (rnd));
+ inex_re = mpfr_ui_sub (mpc_realref (rop), re, mpc_realref (op), MPC_RND_RE (rnd));
+ inex_im = mpfr_ui_sub (mpc_imagref (rop), im, mpc_imagref (op), MPC_RND_IM (rnd));
return MPC_INEX (inex_re, inex_im);
}