Skip to content

Commit 991214f

Browse files
committed
fix compile
1 parent 5e39aeb commit 991214f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/module_psi/psi_initializer_nao.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void normalize(const std::vector<double>& r, std::vector<double>& flz)
4343
}
4444

4545
template <typename T>
46-
void psi_initializer_nao<T>::read_external_orbs(std::string* orbital_files, const int& rank)
46+
void psi_initializer_nao<T>::read_external_orbs(const std::string* orbital_files, const int& rank)
4747
{
4848
ModuleBase::timer::tick("psi_initializer_nao", "read_external_orbs");
4949

source/module_psi/psi_initializer_nao.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class psi_initializer_nao : public psi_initializer<T>
3232
const pseudopot_cell_vnl* = nullptr, //< nonlocal pseudopotential
3333
const int& = 0) override; //< MPI rank
3434

35-
void read_external_orbs(std::string* orbital_files, const int& rank);
35+
void read_external_orbs(const std::string* orbital_files, const int& rank);
3636
virtual void tabulate() override;
3737
std::vector<std::string> external_orbs() const
3838
{

0 commit comments

Comments
 (0)