Fixed construction of nojump trajectory for triclinic box case
This commit is contained in:
1 parent
02fed343f0
commit
3e8fd04726
1 file changed
+2
-2
@@ -156,7 +156,7 @@ def nojump(frame: CoordinateFrame, usecache: bool = True) -> CoordinateFrame:
|
||||
[m[i0 : abstep + 1].sum(axis=0) for m in reader.nojump_matrices]
|
||||
).T
|
||||
)
|
||||
* frame.box.diagonal()
|
||||
@ frame.box
|
||||
)
|
||||
|
||||
reader._nojump_cache[abstep] = delta
|
||||
@@ -173,7 +173,7 @@ def nojump(frame: CoordinateFrame, usecache: bool = True) -> CoordinateFrame:
|
||||
]
|
||||
).T
|
||||
)
|
||||
* frame.box.diagonal()
|
||||
@ frame.box
|
||||
)
|
||||
return frame - delta
|
||||
|
||||
|
||||
Reference in new issue
Block a user