Fix complex cast for gcc9

Fixes #57
LT1AB
Ryan Burns 2019-12-20 19:45:16 -08:00
parent 58b032943d
commit 9bee1a326b
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ int takeLookscpx(DataAccessor *IAIn, DataAccessor* IAout, int ld, int la)
for(int j = 0; j < nfull; j++)
{
bdbl[j] += ain[j];
bdbl[j] += complex<double>(ain[j].real(), ain[j].imag());
}
}