@@ -72,7 +72,7 @@ asci_contrib_container<wfn_t<N>> asci_contributions_standard(
7272 // Alias state data
7373 auto state = *(cdets_begin + i);
7474 auto state_alpha = wfn_traits::alpha_string (state);
75- auto state_beta = wfn_traits::beta_string (state);
75+ auto state_beta = wfn_traits::beta_string (state);
7676 auto coeff = C[i];
7777
7878 // Get occupied and virtual indices
@@ -150,10 +150,11 @@ asci_contrib_container<wfn_t<N>> asci_contributions_constraint(
150150 wavefunction_iterator_t <N> cdets_end, const double E_ASCI,
151151 const std::vector<double >& C, size_t norb, const double * T_pq,
152152 const double * G_red, const double * V_red, const double * G_pqrs,
153- const double * V_pqrs, HamiltonianGenerator<wfn_t <N>>& ham_gen, MPI_Comm comm) {
153+ const double * V_pqrs, HamiltonianGenerator<wfn_t <N>>& ham_gen,
154+ MPI_Comm comm) {
154155 using clock_type = std::chrono::high_resolution_clock;
155156 using duration_type = std::chrono::duration<double , std::milli>;
156- using wfn_traits = wavefunction_traits<wfn_t <N>>;
157+ using wfn_traits = wavefunction_traits<wfn_t <N>>;
157158 using spin_wfn_type = spin_wfn_t <wfn_t <N>>;
158159 using spin_wfn_traits = wavefunction_traits<spin_wfn_type>;
159160
@@ -294,9 +295,9 @@ asci_contrib_container<wfn_t<N>> asci_contributions_constraint(
294295 const auto & occ_beta = bcd.occ_beta ;
295296 const auto & orb_ens_alpha = bcd.orb_ens_alpha ;
296297 generate_constraint_singles_contributions_ss (
297- coeff, det| beta, con, occ_alpha, occ_beta,
298- orb_ens_alpha. data (), T_pq, norb, G_red, norb, V_red, norb,
299- h_el_tol, h_diag, E_ASCI, ham_gen, asci_pairs);
298+ coeff, det | beta, con, occ_alpha, occ_beta, orb_ens_alpha. data () ,
299+ T_pq, norb, G_red, norb, V_red, norb, h_el_tol, h_diag, E_ASCI ,
300+ ham_gen, asci_pairs);
300301 }
301302
302303 // AAAA excitations
@@ -307,9 +308,8 @@ asci_contrib_container<wfn_t<N>> asci_contributions_constraint(
307308 const auto & occ_beta = bcd.occ_beta ;
308309 const auto & orb_ens_alpha = bcd.orb_ens_alpha ;
309310 generate_constraint_doubles_contributions_ss (
310- coeff, det|beta, con, occ_alpha, occ_beta,
311- orb_ens_alpha.data (), G_pqrs, norb, h_el_tol, h_diag, E_ASCI,
312- ham_gen, asci_pairs);
311+ coeff, det | beta, con, occ_alpha, occ_beta, orb_ens_alpha.data (),
312+ G_pqrs, norb, h_el_tol, h_diag, E_ASCI, ham_gen, asci_pairs);
313313 }
314314
315315 // AABB excitations
@@ -322,7 +322,7 @@ asci_contrib_container<wfn_t<N>> asci_contributions_constraint(
322322 const auto & orb_ens_alpha = bcd.orb_ens_alpha ;
323323 const auto & orb_ens_beta = bcd.orb_ens_beta ;
324324 generate_constraint_doubles_contributions_os (
325- coeff, det| beta, con, occ_alpha, occ_beta, vir_beta,
325+ coeff, det | beta, con, occ_alpha, occ_beta, vir_beta,
326326 orb_ens_alpha.data (), orb_ens_beta.data (), V_pqrs, norb, h_el_tol,
327327 h_diag, E_ASCI, ham_gen, asci_pairs);
328328 }
@@ -340,7 +340,7 @@ asci_contrib_container<wfn_t<N>> asci_contributions_constraint(
340340
341341 const auto state = det | beta;
342342 const auto state_alpha = wfn_traits::alpha_string (state);
343- const auto state_beta = wfn_traits::beta_string (beta);
343+ const auto state_beta = wfn_traits::beta_string (beta);
344344 // BB Excitations
345345 append_singles_asci_contributions<Spin::Beta>(
346346 coeff, state, state_beta, occ_beta, vir_beta, occ_alpha,
@@ -349,9 +349,9 @@ asci_contrib_container<wfn_t<N>> asci_contributions_constraint(
349349
350350 // BBBB Excitations
351351 append_ss_doubles_asci_contributions<Spin::Beta>(
352- coeff, state, state_beta, state_alpha, occ_beta, vir_beta, occ_alpha,
353- eps_beta.data (), G_pqrs, norb, h_el_tol, h_diag, E_ASCI, ham_gen ,
354- asci_pairs);
352+ coeff, state, state_beta, state_alpha, occ_beta, vir_beta,
353+ occ_alpha, eps_beta.data (), G_pqrs, norb, h_el_tol, h_diag,
354+ E_ASCI, ham_gen, asci_pairs);
355355
356356 } // Beta Loop
357357 } // Triplet Check
0 commit comments