Skip to content

Commit

Permalink
replaced "." with "->" for a pointer-type variable (how was the code …
Browse files Browse the repository at this point in the history
…even compiling correctly before this?)
  • Loading branch information
debog committed Mar 5, 2024
1 parent 7bd291a commit 335dff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Initialization/ERF_init_from_wrfinput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ ERF::init_from_wrfinput (int lev)
}

auto& lev_new = vars_new[lev];
int n_qstate = micro.Get_Qstate_Size();
int n_qstate = micro->Get_Qstate_Size();
#ifdef _OPENMP
#pragma omp parallel if (amrex::Gpu::notInLaunchRegion())
#endif
Expand Down

0 comments on commit 335dff2

Please sign in to comment.