Fixed list init
This commit is contained in:
parent
5e55b263a1
commit
58a39416e7
@ -333,7 +333,7 @@ def loadParallelGadget(list filename_list, bool loadPosition = True, bool loadVe
|
|||||||
data[i] = local_data
|
data[i] = local_data
|
||||||
# data[i] = loadGadgetMulti(filenames[i].c_str(), -1, flags)
|
# data[i] = loadGadgetMulti(filenames[i].c_str(), -1, flags)
|
||||||
|
|
||||||
out_arrays = None
|
out_arrays = []
|
||||||
for i in xrange(num_files):
|
for i in xrange(num_files):
|
||||||
if data[i] == <SimuData*>0:
|
if data[i] == <SimuData*>0:
|
||||||
out_arrays.append(None)
|
out_arrays.append(None)
|
||||||
|
Loading…
Reference in New Issue
Block a user