Fixes. Now run through classical testcase.

This commit is contained in:
Guilhem Lavaux 2013-06-11 11:51:07 +02:00
parent cb9c4393c5
commit 03d7fda57f
2 changed files with 27 additions and 18 deletions

View file

@ -166,7 +166,7 @@ public:
}
if (load_flags & NEED_VELOCITY)
{
const char *name_template[3] = { "x", "y", "z" };
const char *name_template[3] = { "vx", "vy", "vz" };
for (int q = 0; q < 3; q++)
{
d->Vel[q] = new float[numPartToLoad];