summaryrefslogtreecommitdiff
path: root/src/complex/casinh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/casinh.c')
-rw-r--r--src/complex/casinh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/complex/casinh.c b/src/complex/casinh.c
index f2b3fef8..b57fe8c4 100644
--- a/src/complex/casinh.c
+++ b/src/complex/casinh.c
@@ -4,6 +4,6 @@
double complex casinh(double complex z)
{
- z = casin(cpack(-cimag(z), creal(z)));
- return cpack(cimag(z), -creal(z));
+ z = casin(CMPLX(-cimag(z), creal(z)));
+ return CMPLX(cimag(z), -creal(z));
}