diff --git a/zobov/voz1b1.c b/zobov/voz1b1.c index 9ff68d8..8a87399 100644 --- a/zobov/voz1b1.c +++ b/zobov/voz1b1.c @@ -118,7 +118,7 @@ int main(int argc, char *argv[]) { exit(1); } - DL c[d] = ((float)b[d])*width; + DL c[d] = ((float)b[d]+0.5)*width; printf("c: %f,%f,%f\n",c[0],c[1],c[2]); /* Assign temporary array*/ nvpbuf = 0; /* Number of particles to tesselate, including