Skip to content

Commit

Permalink
further test development
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Feb 19, 2019
1 parent 702ac8e commit ec228ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cunit/test_perf1.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#define Z_DIM_LEN 4

/* The number of timesteps of data to write. */
#define NUM_TIMESTEPS 1
#define NUM_TIMESTEPS 2

/* The number of 4D vars. */
#define NUM_VARS 2
Expand Down Expand Up @@ -225,7 +225,7 @@ int test_perf1(int iosysid, int ioid, int num_flavors, int *flavor, int my_rank,
/* Write a timestep of data. */
{
/* Set the value of the record dimension. */
if ((ret = PIOc_setframe(ncid, varid, 0)))
if ((ret = PIOc_setframe(ncid, varid, t)))
ERR(ret);

int frame = 0;
Expand Down

0 comments on commit ec228ca

Please sign in to comment.