Skip to content

Commit

Permalink
BUG: fix a segmentation fault occuring with self-gravity in reduced d…
Browse files Browse the repository at this point in the history
…imensionality (#200)
  • Loading branch information
neutrinoceros authored Oct 19, 2023
1 parent 52ceb5d commit d08acbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gravity/laplacian.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ void Laplacian::PreComputeLaplacian() {

idefix_for("L_Factor",KOFFSET,this->np_tot[KDIR]-KOFFSET,
JOFFSET,this->np_tot[JDIR]-JOFFSET,
IOFFSET,this->np_tot[IDIR]-JOFFSET,
IOFFSET,this->np_tot[IDIR]-IOFFSET,
KOKKOS_LAMBDA(int k, int j,int i) {
[[maybe_unused]] real h1, h2, h3;
#if GEOMETRY == CARTESIAN
Expand Down

0 comments on commit d08acbf

Please sign in to comment.