Skip to content

Commit

Permalink
np.matrix to np.asmatrix fix test 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranavkhade committed Jun 29, 2024
1 parent 49e01fb commit 7ac6f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packman/utilities/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def superimporse(reference: 'Chain', target: 'Chain', use: str='calpha', ids: Li
Bm = numpy.subtract(atoms2_location, Centroid2)

#Dot is matrix multiplication for array
H = numpy.mat(Bm.T) * numpy.mat(Am)
H = numpy.asmatrix(Bm.T) * numpy.asmatrix(Am)

#Find Rotation
U, S, Vt = numpy.linalg.svd(H)
Expand Down

0 comments on commit 7ac6f9c

Please sign in to comment.