diff --git a/src/libnptm/clu_subs.cpp b/src/libnptm/clu_subs.cpp
index 777aebd48812ab0cf8d41aed018aa463f1381ca0..22287bb7c734fcfc067c4e185b4b4f7932c03918 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;
     }