@@ -13,13 +13,13 @@ namespace LR
1313 const psi::Psi<double >& c,
1414 const int & nocc,
1515 const int & nvirt,
16- double * AX_istate);
16+ double * const AX_istate);
1717 void cal_AX_blas (
1818 const std::vector<container::Tensor>& V_istate,
1919 const psi::Psi<double >& c,
2020 const int & nocc,
2121 const int & nvirt,
22- double * AX_istate,
22+ double * const AX_istate,
2323 const bool add_on = true );
2424#ifdef __MPI
2525 void cal_AX_pblas (
@@ -31,7 +31,7 @@ namespace LR
3131 const int & nocc,
3232 const int & nvirt,
3333 const Parallel_2D& pX,
34- double * AX_istate,
34+ double * const AX_istate,
3535 const bool add_on=true );
3636#endif
3737 // complex
@@ -40,13 +40,13 @@ namespace LR
4040 const psi::Psi<std::complex <double >>& c,
4141 const int & nocc,
4242 const int & nvirt,
43- std::complex <double >* AX_istate);
43+ std::complex <double >* const AX_istate);
4444 void cal_AX_blas (
4545 const std::vector<container::Tensor>& V_istate,
4646 const psi::Psi<std::complex <double >>& c,
4747 const int & nocc,
4848 const int & nvirt,
49- std::complex <double >* AX_istate,
49+ std::complex <double >* const AX_istate,
5050 const bool add_on = true );
5151
5252#ifdef __MPI
@@ -59,7 +59,7 @@ namespace LR
5959 const int & nocc,
6060 const int & nvirt,
6161 const Parallel_2D& pX,
62- std::complex <double >* AX_istate,
62+ std::complex <double >* const AX_istate,
6363 const bool add_on = true );
6464#endif
6565}
0 commit comments