Skip to content

Commit

Permalink
examples: ark_diurnal_kry_ph: debug 13
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdomine committed Jul 28, 2023
1 parent 5db6c2d commit 3f64e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/arkode/C_parhyp/ark_diurnal_kry_ph.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ static void InitUserData(UserData data, MPI_Comm comm, int nprocsx, int nprocsy,
data->local_N = NVARS*data->local_M;

/* Allocate uext */
data->uext = (realtype*) malloc(NVARS*(data->local_Mx+2)*(data->local_My+2));
data->uext = (realtype*) malloc(NVARS*(data->local_Mx+2)*(data->local_My+2)*sizeof(realtype));

/* Calculate equation offset (mybase) (see HYPRE_IJVectorCreate) */
data->mybase = 0;
Expand Down

0 comments on commit 3f64e42

Please sign in to comment.