diff options
Diffstat (limited to 'Source/Evolve/WarpXEvolve.cpp')
-rw-r--r-- | Source/Evolve/WarpXEvolve.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Evolve/WarpXEvolve.cpp b/Source/Evolve/WarpXEvolve.cpp index a97c87122..37023c8dd 100644 --- a/Source/Evolve/WarpXEvolve.cpp +++ b/Source/Evolve/WarpXEvolve.cpp @@ -366,7 +366,7 @@ WarpX::Evolve (int numsteps) // inputs: unused parameters (e.g. typos) check after step 1 has finished if (!early_params_checked) { amrex::Print() << "\n"; // better: conditional \n based on return value - amrex::ParmParse().QueryUnusedInputs(); + amrex::ParmParse::QueryUnusedInputs(); //Print the warning list right after the first step. amrex::Print() << @@ -540,7 +540,7 @@ void WarpX::SyncCurrentAndRho () // Without periodic single box, synchronize J and rho here, // except with current correction or Vay deposition: // in these cases, synchronize later (in WarpX::PushPSATD) - if (current_correction == false && + if (!current_correction && current_deposition_algo != CurrentDepositionAlgo::Vay) { SyncCurrent(current_fp, current_cp, current_buf); |