diff --git a/src/libnptm/clu_subs.cpp b/src/libnptm/clu_subs.cpp
index b516e576ce250e6259d33e7b8141c1efb19270dd..e6e5e2cdf34bb7d77028685124aa36893a1a9ee7 100644
--- a/src/libnptm/clu_subs.cpp
+++ b/src/libnptm/clu_subs.cpp
@@ -626,7 +626,7 @@ complex<double> ghit(
   if (ihi == 2) {
     if (c1->rxx[nbl - 1] == 0.0 && c1->ryy[nbl - 1] == 0.0 && c1->rzz[nbl - 1] == 0.0) {
       if (ipamo == 0) {
-	if (l1 == l2 && m1 == m2) result = complex(1.0, 0.0);
+	if (l1 == l2 && m1 == m2) result = complex<double>(1.0, 0.0);
       }
       return result;
     }