Updated again cosmotoolbox

This commit is contained in:
Guilhem Lavaux 2013-02-19 11:30:03 -05:00
parent e41c26a46c
commit e44d51442d
14 changed files with 195 additions and 332 deletions

View file

@ -195,7 +195,7 @@ SimuData *CosmoTool::loadGadgetMulti(const char *fname, int id,
try
{
f->beginCheckpoint();
data->Id = new int[data->NumPart];
data->Id = new long[data->NumPart];
if (data->Id == 0)
{
delete f;