Upgrade dependencies. Port to python3
This commit is contained in:
parent
14f6062ccb
commit
9389a30379
2 changed files with 11 additions and 5 deletions
|
@ -452,7 +452,7 @@ def loadParallelGadget(object filename_list, int gadgetFormat = 1, bool loadPosi
|
|||
filenames.resize(num_files)
|
||||
data = alloc_simudata(num_files)
|
||||
for i,l in enumerate(filename_list):
|
||||
filenames[i] = l
|
||||
filenames[i] = l.encode('utf-8')
|
||||
|
||||
with nogil:
|
||||
for i in prange(num_files):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue