Formatting.

This commit is contained in:
Ye Luo 2023-10-09 22:55:09 -05:00
parent 24018cce64
commit 9e2ef2c9aa
1 changed files with 1 additions and 3 deletions

View File

@ -32,7 +32,7 @@
namespace qmcplusplus namespace qmcplusplus
{ {
using std::placeholders::_1; using std::placeholders::_1;
using WP = WalkerProperties::Indexes; using WP = WalkerProperties::Indexes;
using PsiValueType = TrialWaveFunction::PsiValueType; using PsiValueType = TrialWaveFunction::PsiValueType;
/** Constructor maintains proper ownership of input parameters /** Constructor maintains proper ownership of input parameters
@ -217,7 +217,6 @@ void DMCBatched::advanceWalkers(const StateForThread& sft,
isAccepted.clear(); isAccepted.clear();
for (int iw = 0; iw < num_walkers; ++iw) for (int iw = 0; iw < num_walkers; ++iw)
{
if ((!rejects[iw]) && prob[iw] >= std::numeric_limits<RealType>::epsilon() && if ((!rejects[iw]) && prob[iw] >= std::numeric_limits<RealType>::epsilon() &&
step_context.get_random_gen()() < prob[iw]) step_context.get_random_gen()() < prob[iw])
{ {
@ -230,7 +229,6 @@ void DMCBatched::advanceWalkers(const StateForThread& sft,
crowd.incReject(); crowd.incReject();
isAccepted.push_back(false); isAccepted.push_back(false);
} }
}
twf_dispatcher.flex_accept_rejectMove(walker_twfs, walker_elecs, iat, isAccepted, true); twf_dispatcher.flex_accept_rejectMove(walker_twfs, walker_elecs, iat, isAccepted, true);