Skip to content

Commit

Permalink
Update deprecated np.int
Browse files Browse the repository at this point in the history
Issue documented in: #276
  • Loading branch information
smrolfe committed Sep 28, 2023
1 parent 31d8768 commit e5deb1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPA/GPA.py
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ def onLoad(self):
if len(lmToExclude) != 0:
self.LMExclusionList=lmToExclude.split(",")
print("Excluded landmarks: ", self.LMExclusionList)
self.LMExclusionList=[np.int(x) for x in self.LMExclusionList]
self.LMExclusionList=[int(x) for x in self.LMExclusionList]
lmNP=np.asarray(self.LMExclusionList)
else:
self.LMExclusionList=[]
Expand Down

0 comments on commit e5deb1d

Please sign in to comment.