10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-06-26 15:12:05 +02:00
This commit is contained in:
Anthony Scemama 2018-02-23 15:02:23 +01:00
parent d56f1c0ff2
commit 738da438ea

View File

@ -158,12 +158,12 @@ let of_basis basis =
(* Compute all the integrals of the class *)
let cls =
if swap then
if (Array.length sp) + (Array.length sq) = 2 then
if (Array.length sp) + (Array.length sq) < 4 then
contracted_class_shell_pairs ~schwartz_p:schwartz_q ~schwartz_q:schwartz_p shell_q shell_p
else
contracted_class_shell_pairs_vec ~schwartz_p:schwartz_q ~schwartz_q:schwartz_p shell_q shell_p
else
if (Array.length sp) + (Array.length sq) = 2 then
if (Array.length sp) + (Array.length sq) < 4 then
contracted_class_shell_pairs ~schwartz_p ~schwartz_q shell_p shell_q
else
contracted_class_shell_pairs_vec ~schwartz_p ~schwartz_q shell_p shell_q