mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
Compilation fixes (type mismatch)
This commit is contained in:
parent
371dc289b3
commit
381f6aae87
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ public:
|
||||||
simu->Pos[k] = new float[allocated];
|
simu->Pos[k] = new float[allocated];
|
||||||
simu->Vel[k] = new float[allocated];
|
simu->Vel[k] = new float[allocated];
|
||||||
}
|
}
|
||||||
simu->Id = new long[allocated];
|
simu->Id = new int64_t[allocated];
|
||||||
long *uniqueID = new long[allocated];
|
long *uniqueID = new long[allocated];
|
||||||
long *index = new long[allocated];
|
long *index = new long[allocated];
|
||||||
|
|
||||||
|
|
|
@ -203,7 +203,7 @@ public:
|
||||||
}
|
}
|
||||||
if (load_flags & NEED_GADGET_ID)
|
if (load_flags & NEED_GADGET_ID)
|
||||||
{
|
{
|
||||||
d->Id = new long[numPartToLoad];
|
d->Id = new int64_t[numPartToLoad];
|
||||||
SETUP_READ("ident", d->Id);
|
SETUP_READ("ident", d->Id);
|
||||||
}
|
}
|
||||||
#undef SETUP_READ
|
#undef SETUP_READ
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue