Skip to content

Commit

Permalink
Fix bug from 4b61cae
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrack committed Aug 19, 2020
1 parent 9a68f79 commit 0bcd69a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xray_diffraction.F
Original file line number Diff line number Diff line change
Expand Up @@ -691,12 +691,12 @@ SUBROUTINE calculate_rhotot_elec_gspace(qs_env, auxbas_pw_pool, &
ison = o2nindex(iso)
json = o2nindex(jso)
CALL dgemm("N", "N", nso(la), nco(lb), nso(lb), 1.0_dp, &
delta_cpc(ison:, json), SIZE(delta_cpc, 1), &
delta_cpc(ison:ison + nso(la) - 1, json), SIZE(delta_cpc, 1), &
orbtramat(lb)%slm, nso(lb), 0.0_dp, work, &
maxso)
CALL dgemm("T", "N", nco(la), nco(lb), nso(la), 1.0_dp, &
orbtramat(la)%slm, nso(la), work, maxso, &
0.0_dp, pab(ico:, jco), SIZE(pab, 1))
0.0_dp, pab(ico:ico + nco(la) - 1, jco), SIZE(pab, 1))
jco = jco + nco(lb)
jso = jso + nso(lb)
END DO ! next lb
Expand Down

0 comments on commit 0bcd69a

Please sign in to comment.