Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Nov 9, 2023
1 parent 198909f commit bc4a64f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/QMCWaveFunctions/SPOSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ void SPOSetT<VALUE>::mw_evaluateVGLandDetRatioGrads(const RefVectorWithLeader<SP
std::vector<Grad>& grads) const
{
assert(this == &spo_list.getLeader());
assert(phi_vgl_v.size(0) == QMCTraits::DIM_VGL);
assert(phi_vgl_v.size(0) == SPOSet::DIM_VGL);
assert(phi_vgl_v.size(1) == spo_list.size());
const size_t nw = spo_list.size();
const size_t norb_requested = phi_vgl_v.size(2);
Expand Down
2 changes: 1 addition & 1 deletion src/QMCWaveFunctions/tests/test_einset_NiO_a16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ TEST_CASE("Einspline SPO from HDF NiO a16 97 electrons", "[wavefunction]")
std::vector<const SPOSet::ValueType*> inv_row_ptr(nw, inv_row.device_data());

SPOSet::OffloadMWVGLArray phi_vgl_v;
phi_vgl_v.resize(QMCTraits::DIM_VGL, nw, 5);
phi_vgl_v.resize(SPOSet::DIM_VGL, nw, 5);
spo->mw_evaluateVGLandDetRatioGrads(spo_list, p_list, 0, inv_row_ptr, phi_vgl_v, ratio_v, grads_v);
phi_vgl_v.updateFrom();
#if !defined(QMC_COMPLEX)
Expand Down

0 comments on commit bc4a64f

Please sign in to comment.