Skip to content

Commit

Permalink
initialized winput::imp_pao = 0 in winput.cpp (#3897)
Browse files Browse the repository at this point in the history
Co-authored-by: charches <charches@DESKTOP-AB7IADE>
Co-authored-by: Mohan Chen <mohan.chen.chen.mohan@gmail.com>
  • Loading branch information
3 people committed Apr 3, 2024
1 parent d4fab4d commit ed8593a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion source/module_io/bessel_basis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,4 +473,4 @@ void Bessel_Basis::allocate_C4(
}
}
return;
}
}
2 changes: 1 addition & 1 deletion source/module_io/mulliken_charge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,4 +452,4 @@ void ModuleIO::out_mulliken(const int& step, LCAO_Matrix* LM, const elecstate::E
}
}
template void ModuleIO::out_mulliken(const int& step, LCAO_Matrix* LM, const elecstate::ElecState* pelec, const K_Vectors& kv, hamilt::Hamilt<double>* ham_in);
template void ModuleIO::out_mulliken(const int& step, LCAO_Matrix* LM, const elecstate::ElecState* pelec, const K_Vectors& kv, hamilt::Hamilt<std::complex<double>>* ham_in);
template void ModuleIO::out_mulliken(const int& step, LCAO_Matrix* LM, const elecstate::ElecState* pelec, const K_Vectors& kv, hamilt::Hamilt<std::complex<double>>* ham_in);
2 changes: 1 addition & 1 deletion source/module_io/output_dm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ void Output_DM::write()
GlobalV::NSPIN,
GlobalV::NLOCAL);
}
} // namespace ModuleIO
} // namespace ModuleIO
2 changes: 1 addition & 1 deletion source/module_io/parameter_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1666,4 +1666,4 @@ void input_parameters_set(std::map<std::string, InputParameter> input_parameters
}

// namespace ModuleIO
} // namespace ModuleIO
} // namespace ModuleIO
2 changes: 1 addition & 1 deletion source/module_io/winput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ bool winput::begin_stop_flag;
bool winput::end_flag;
std::string winput::wf_type;
bool winput::build_wf;
int winput::imp_pao;
int winput::imp_pao = 0;
bool winput::b_out_wf;
bool winput::b_fftwan;//add 2008-07-20
bool winput::b_plot_build;//add 2008-06-04
Expand Down

0 comments on commit ed8593a

Please sign in to comment.