1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-19 17:03:45 +02:00

fixed compilation error (forgotten multiplication op)

This commit is contained in:
Oliver Hahn 2020-08-16 17:40:53 +02:00
parent 173cd7a63f
commit 5aab63fdcb

View file

@ -271,7 +271,7 @@ int Run( config_file& the_config )
if (bDoFixing){
wn = (std::fabs(wn) != 0.0) ? wn / std::fabs(wn) : wn;
}
return ((bDoInversion)? real_t{-1.0} : real_t{1.0}) wn / volfac;
return ((bDoInversion)? real_t{-1.0} : real_t{1.0}) * wn / volfac;
});