summaryrefslogtreecommitdiff
path: root/src/complex/ctan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/ctan.c')
-rw-r--r--src/complex/ctan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/complex/ctan.c b/src/complex/ctan.c
index 31bbd8c4..0bfb19b7 100644
--- a/src/complex/ctan.c
+++ b/src/complex/ctan.c
@@ -5,7 +5,7 @@
TYPE complex TGFN(ctan)(TYPE complex z)
{
- return z;
+ return TGCMPLX(0.0, -TGFN(ctanh)(I * z));
}
/*d