Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
This needs to be fixed on the FLASH-X side instead.
  • Loading branch information
atmyers authored Sep 28, 2023
1 parent 1ac263f commit d45933c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/F_Interfaces/Particle/AMReX_particlecontainer_fi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ extern "C" {
np = particle_tile.numParticles();
if (np > 0) {
auto& aos = particle_tile.GetArrayOfStructs();
dp = reinterpret_cast<FParticleContainer::ParticleType*>(aos.data());
dp = aos.data();
} else {
dp = nullptr;
}
Expand Down Expand Up @@ -127,7 +127,7 @@ extern "C" {
np = particle_tile.numParticles();
if (np > 0) {
auto& aos = particle_tile.GetArrayOfStructs();
dp = reinterpret_cast<FParticleContainer::ParticleType*>(aos.data());
dp = aos.data();
} else {
dp = nullptr;
}
Expand Down

0 comments on commit d45933c

Please sign in to comment.