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