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