Skip to content
Snippets Groups Projects
Commit 5c49088f authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Specify complex template in clu_subs

parent e6490bd4
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment