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

fixed bug in previous commit

This commit is contained in:
Oliver Hahn 2024-02-24 00:48:50 +01:00
parent ffd49efc49
commit 672c99171a

View file

@ -335,7 +335,7 @@ void GenerateDensityHierarchy(config_file &cf, const cosmology::calculator* cc,
bool fix = cf.get_value_safe<bool>("setup","fix_mode_amplitude",false); bool fix = cf.get_value_safe<bool>("setup","fix_mode_amplitude",false);
bool flip = cf.get_value_safe<bool>("setup","flip_mode_amplitude",false); bool flip = cf.get_value_safe<bool>("setup","flip_mode_amplitude",false);
bool fourier_splicing = cf.get_value_safe<bool>("setup","fourier_splicing",true); bool fourier_splicing = true; //cf.get_value_safe<bool>("setup","fourier_splicing",true);
if( fix && levelmin != levelmax ){ if( fix && levelmin != levelmax ){
music::wlog.Print("You have chosen mode fixing for a zoom. This is not well tested,\n please proceed at your own risk..."); music::wlog.Print("You have chosen mode fixing for a zoom. This is not well tested,\n please proceed at your own risk...");