Fixed scaling of boxsize to account for different units

This commit is contained in:
Guilhem Lavaux 2012-11-23 14:04:44 -05:00
parent 5573b82c44
commit 748f2c7107

View file

@ -98,6 +98,8 @@ SimulationLoader *gadgetLoader(const std::string& snapshot, double Mpc_unitLengt
assert(d != 0);
SimuData *header = d;
header->BoxSize *= Mpc_unitLength;
if (!singleFile)
{