mirror of https://github.com/QMCPACK/qmcpack.git
Formatting.
This commit is contained in:
parent
24018cce64
commit
9e2ef2c9aa
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue