Skip to content

Commit

Permalink
Formatting & build test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
maggul committed Oct 8, 2024
1 parent c00540a commit d655f55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions benchmarks/diffusion_2D/main_arkode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,8 @@ void UserOptions::print()
{
case (ARKODE_LSRK_RKC_2): cout << " method = RKC_2 " << endl; break;
case (ARKODE_LSRK_RKL_2): cout << " method = RKL_2 " << endl; break;
default:
cout << " ERROR: illegal lsrkmethod " << endl;
}
cout << " --------------------------------- " << endl;
}
Expand Down
4 changes: 2 additions & 2 deletions src/arkode/arkode_lsrkstep.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ int lsrkStep_TakeStepRKC(ARKodeMem ark_mem, sunrealtype* dsmPtr, int* nflagPtr)
if (retval != ARK_SUCCESS) { return retval; }

sunrealtype* cvals = step_mem->cvals;
N_Vector* Xvecs = step_mem->Xvecs;
N_Vector* Xvecs = step_mem->Xvecs;

/* Compute dominant eigenvalue and update stats */
if (step_mem->dom_eig_update)
Expand Down Expand Up @@ -769,7 +769,7 @@ int lsrkStep_TakeStepRKL(ARKodeMem ark_mem, sunrealtype* dsmPtr, int* nflagPtr)
if (retval != ARK_SUCCESS) { return retval; }

sunrealtype* cvals = step_mem->cvals;
N_Vector* Xvecs = step_mem->Xvecs;
N_Vector* Xvecs = step_mem->Xvecs;

/* Compute dominant eigenvalue and update stats */
if (step_mem->dom_eig_update)
Expand Down

0 comments on commit d655f55

Please sign in to comment.