Skip to content

Commit

Permalink
fix a nullptr in Psi(T*)
Browse files Browse the repository at this point in the history
  • Loading branch information
maki49 committed Oct 9, 2023
1 parent 2ffa3d4 commit eb3cf78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/module_psi/psi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ Psi<T, Device>::Psi(T* psi_pointer, const Psi& psi_in, const int nk_in, int nban
this->nbands = nband_in;
this->nbasis = psi_in.nbasis;
this->psi_current = psi_pointer;
this->psi = psi_pointer;
}

template <typename T, typename Device> Psi<T, Device>::Psi(const Psi& psi_in)
Expand Down

0 comments on commit eb3cf78

Please sign in to comment.