mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 21:55:16 -04:00
PAO-ML: Fix cell shifts vectors
This commit is contained in:
parent
4acbff5f37
commit
18dadc1cd4
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ CONTAINS
|
|||
DO j = -1, +1
|
||||
DO k = -1, +1
|
||||
jcell = jcell + 1
|
||||
cell_shifts(jcell, :) = i*cell%hmat(1, :) + j*cell%hmat(2, :) + k*cell%hmat(3, :)
|
||||
cell_shifts(jcell, :) = i*cell%hmat(:, 1) + j*cell%hmat(:, 2) + k*cell%hmat(:, 3)
|
||||
END DO
|
||||
END DO
|
||||
END DO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue