about summary refs log tree commit diff
path: root/src/complex/cprojf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/cprojf.c')
-rw-r--r--src/complex/cprojf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/complex/cprojf.c b/src/complex/cprojf.c
index 71129743..653be5e8 100644
--- a/src/complex/cprojf.c
+++ b/src/complex/cprojf.c
@@ -3,6 +3,6 @@
 float complex cprojf(float complex z)
 {
 	if (isinf(crealf(z)) || isinf(cimagf(z)))
-		return cpackf(INFINITY, copysignf(0.0, crealf(z)));
+		return CMPLXF(INFINITY, copysignf(0.0, crealf(z)));
 	return z;
 }