Initialize variables in SimulationLoader

This commit is contained in:
Guilhem Lavaux 2012-11-23 14:01:09 -05:00
parent 91926434a4
commit 5573b82c44
2 changed files with 6 additions and 2 deletions

View file

@ -10,7 +10,11 @@ protected:
bool do_redshift;
int redshift_axis;
SimulationLoader() {}
SimulationLoader()
{
do_redshift = false;
redshift_axis = 2;
}
void applyTransformations(CosmoTool::SimuData *s);