Skip to content

Commit

Permalink
Merge pull request #518 from GOMC-WSU/FFExp6
Browse files Browse the repository at this point in the history
Improve FFExp6 patch to work with GTest
  • Loading branch information
jpotoff authored Sep 26, 2023
2 parents 8f427ea + f84bc9d commit 198f222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FFExp6.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct FF_EXP6 : public FFParticle {
rMin_1_4(NULL), rMaxSq(NULL), rMaxSq_1_4(NULL) {}
virtual ~FF_EXP6() {
#ifdef GOMC_CUDA
DestroyExp6CUDAVars(ff.particles->getCUDAVars());
DestroyExp6CUDAVars(getCUDAVars());
#endif
delete[] expConst;
delete[] expConst_1_4;
Expand Down Expand Up @@ -144,7 +144,7 @@ inline void FF_EXP6::Init(ff_setup::Particle const &mie,
}
}
#ifdef GOMC_CUDA
InitExp6VariablesCUDA(varCUDA, rMin, expConst, rMaxSq, size);
InitExp6VariablesCUDA(getCUDAVars(), rMin, expConst, rMaxSq, size);
#endif
}

Expand Down

0 comments on commit 198f222

Please sign in to comment.