9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-21 11:03:29 +01:00

fixed another floating point exception in aos_in_r.irp.f

This commit is contained in:
Emmanuel Giner 2020-06-08 11:55:44 +02:00
parent 47528188b5
commit 7648010331

View File

@ -163,6 +163,8 @@ subroutine give_all_aos_and_grad_at_r(r,aos_array,aos_grad_array)
accu_2 = 0.d0
do l = 1,ao_prim_num(k)
beta = ao_expo_ordered_transp_per_nucl(l,j,i)
contrib = 0.d0
if(beta*r2.gt.50.d0)cycle
contrib = ao_coef_normalized_ordered_transp_per_nucl(l,j,i) * dexp(-beta*r2)
accu_1 += contrib
accu_2 += contrib * beta