Skip to content

Commit beb080a

Browse files
authored
RZ spectral: add default value of i_comp in scalar transforms (#1404)
1 parent 3f8f4a8 commit beb080a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.H

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ class SpectralFieldDataRZ
4545
~SpectralFieldDataRZ ();
4646

4747
void ForwardTransform (const amrex::MultiFab& mf, const int field_index,
48-
const int i_comp);
48+
const int i_comp=0);
4949
void ForwardTransform (const amrex::MultiFab& mf_r, const int field_index_r,
5050
const amrex::MultiFab& mf_t, const int field_index_t);
5151
void BackwardTransform (amrex::MultiFab& mf, const int field_index,
52-
const int i_comp);
52+
const int i_comp=0);
5353
void BackwardTransform (amrex::MultiFab& mf_r, const int field_index_r,
5454
amrex::MultiFab& mf_t, const int field_index_t);
5555

0 commit comments

Comments
 (0)