Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Update representations.py #147

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qml/representations/representations.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def get_slatm_mbtypes(nuclear_charges, pbc='000'):
zsmax = np.array( list(zsmax) )
nass = []
for i in range(nm):
zsi = np.array(zs[i],np.int)
zsi = np.array(zs[i],int)
nass.append( [ (zi == zsi).sum() for zi in zsmax ] )

nzmax = np.max(np.array(nass), axis=0)
Expand Down