Skip to content

Commit

Permalink
Merge pull request QMCPACK#4717 from correaa/explict_multi_conversions
Browse files Browse the repository at this point in the history
fix type mismatch of multi array in AFQMC
  • Loading branch information
markdewing committed Aug 29, 2023
2 parents 6c7b0d3 + 6070bfd commit 4779591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AFQMC/Hamiltonians/Hamiltonian.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class dummy_Hamiltonian
boost::multi::array<SPComplexType, 1> halfRotatedHij(WALKER_TYPES type, PsiT_Matrix* Alpha, PsiT_Matrix* Beta)
{
throw std::runtime_error("calling visitor on dummy object");
return boost::multi::array<ComplexType, 1>(iextensions<1u>{1});
return boost::multi::array<SPComplexType, 1>(iextensions<1u>{1});
}

SpCType_shm_csr_matrix halfRotatedHijkl(WALKER_TYPES type,
Expand Down

0 comments on commit 4779591

Please sign in to comment.