Skip to content

Commit

Permalink
bugfix instools (i-pi#383)
Browse files Browse the repository at this point in the history
It is a 1 line bugfix. It's not worth bothering other maintainers.
  • Loading branch information
litman90 authored Oct 8, 2024
1 parent b78cb35 commit e6e4a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipi/utils/instools.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def get_imvector(h, m3):
verbosity.low,
)

imv = w[:, 0] * (m3[:] ** 0.5)
imv = w[:, 0] / (m3[:] ** 0.5)
imv = imv / np.linalg.norm(imv)

return imv.reshape(1, imv.size)
Expand Down

0 comments on commit e6e4a50

Please sign in to comment.