Skip to content

Commit

Permalink
add const
Browse files Browse the repository at this point in the history
  • Loading branch information
mreineck committed Dec 30, 2024
1 parent c6232d9 commit 223afb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/finufft/finufft_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ template<typename TF> struct FINUFFT_PLAN_T { // the main plan class, fully C++

std::array<UBIGINT, 3> mstu; // number of modes in x/y/z dir (historical CMCL name) =
// N1/N2/N3
inline UBIGINT N() { return mstu[0]*mstu[1]*mstu[2]; } // total # modes (prod of above three)
inline UBIGINT N() const { return mstu[0]*mstu[1]*mstu[2]; } // total # modes (prod of above three)

std::array<UBIGINT, 3> nf123{1, 1, 1}; // size of internal fine grid in x/y/z
// direction
Expand Down

0 comments on commit 223afb3

Please sign in to comment.