Skip to content

Commit

Permalink
fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLeeJSL committed Nov 24, 2023
1 parent dbb3a52 commit 888facf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions d4ft/integral/gto/tensorization.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,6 @@ def tensorize(
N_abcd = Ns[abcd_idx].prod(-1) * counts_abcd_i
abcd = jnp.einsum("k,k,k,k,k,k->k", t_abcd, N_abcd, *coeffs_abcd)
cgto_abcd = jax.ops.segment_sum(abcd, cgto_seg_id, n_segs)
print(cgto_abcd.shape)
print(cgto_seg_id.shape)
print(n_segs)
return cgto_abcd

return tensorize
Expand Down

0 comments on commit 888facf

Please sign in to comment.