Skip to content

Commit

Permalink
Fix vpicio bug
Browse files Browse the repository at this point in the history
  • Loading branch information
houjun committed Apr 26, 2024
1 parent 90567f1 commit 5fed0af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/vpicio.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ main(int argc, char **argv)
printf("Writing %" PRIu64 " number of particles with %d clients.\n", numparticles, size);
}

dims[0] = numparticles;
dims[0] = numparticles * size;

x = (float *)malloc(numparticles * sizeof(float));
y = (float *)malloc(numparticles * sizeof(float));
Expand Down

0 comments on commit 5fed0af

Please sign in to comment.