Skip to content

Commit

Permalink
fixed bug in namespace name
Browse files Browse the repository at this point in the history
  • Loading branch information
lucafedeli88 committed Jan 30, 2025
1 parent c9d1527 commit 3540337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/FieldSolver/SpectralSolver/SpectralKSpace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ SpectralKSpace::getModifiedKComponent (const DistributionMapping& dm,
// (i.e. highest *real* k) is 0. However, the above calculation
// based on stencil coefficients does not give 0 to machine precision.
// Therefore, we need to enforce the fact that the modified k be 0 here.
if (grid_type == ablastr::utils::enums::GridType::GridType::Collocated){
if (grid_type == ablastr::utils::enums::GridType::Collocated){
if (i_dim == 0){
// Because of the real-to-complex FFTs, the first axis (idim=0)
// contains only the positive k, and the Nyquist frequency is
Expand Down

0 comments on commit 3540337

Please sign in to comment.