Skip to content

Commit

Permalink
small bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
camelto2 committed Mar 9, 2023
1 parent 8aae0d6 commit 1db4eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/QMCHamiltonians/SOECPotential.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ void SOECPotential::mw_evaluateImpl(const RefVectorWithLeader<OperatorBase>& o_l
RefVectorWithLeader<SOECPComponent> soecp_component_list(**pp_component);
RefVectorWithLeader<ParticleSet> pset_list(pset_leader);
RefVectorWithLeader<TrialWaveFunction> psi_list(O_leader.Psi_);
assert(&O_leader.Psi == &wf_list.getLeader());
assert(&O_leader.Psi_ == &wf_list.getLeader());
for (size_t iw = 0; iw < nw; iw++)
assert(&o_list.getCastedElement<SOECPotential>(iw).Psi == &wf_list[iw]);
assert(&o_list.getCastedElement<SOECPotential>(iw).Psi_ == &wf_list[iw]);

RefVector<const NLPPJob<RealType>> batch_list;
std::vector<RealType> pairpots(nw);
Expand Down

0 comments on commit 1db4eba

Please sign in to comment.