Fixed list init

This commit is contained in:
Guilhem Lavaux 2014-11-20 14:51:39 +01:00
parent 5e55b263a1
commit 58a39416e7

View File

@ -333,7 +333,7 @@ def loadParallelGadget(list filename_list, bool loadPosition = True, bool loadVe
data[i] = local_data
# data[i] = loadGadgetMulti(filenames[i].c_str(), -1, flags)
out_arrays = None
out_arrays = []
for i in xrange(num_files):
if data[i] == <SimuData*>0:
out_arrays.append(None)