mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
large files now appear to be supported
This commit is contained in:
parent
acd9329b06
commit
7f020f15e5
2 changed files with 3 additions and 2 deletions
|
@ -359,7 +359,7 @@ void saveBox(SimuData *&boxed, const std::string& outbox)
|
|||
NcVar *v4 = f.add_var("unique_ids_lsb", ncLong, NumPart_dim);
|
||||
NcVar *v5 = f.add_var("unique_ids_msb", ncLong, NumPart_dim);
|
||||
|
||||
nclong *tmp_int = new nclong(boxed->NumPart);
|
||||
nclong *tmp_int = new nclong[boxed->NumPart];
|
||||
for (long i = 0; i < boxed->NumPart; i++)
|
||||
tmp_int[i] = (nclong)(((unsigned long)uniqueID[i]) & 0xffffffff);
|
||||
v4->put(tmp_int, boxed->NumPart);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue