Compile fixes (avoid extensions)

This commit is contained in:
Guilhem Lavaux 2016-07-21 10:41:29 +03:00
parent 63d5f8d1d7
commit b30d978eed

View File

@ -100,8 +100,8 @@ namespace CosmoTool
for (LType m = 1; m <= std::min(l,alms.Mmax()); m++) for (LType m = 1; m <= std::min(l,alms.Mmax()); m++)
{ {
std::complex<T>& c = new_data[alms.index(l,m)]; std::complex<T>& c = new_data[alms.index(l,m)];
c.real() = gsl_ran_gaussian(rng, Al); c.real(gsl_ran_gaussian(rng, Al));
c.imag() = gsl_ran_gaussian(rng, Al); c.imag(gsl_ran_gaussian(rng, Al));
} }
} }
} }