Skip to content

Commit

Permalink
a few more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
leios committed Dec 19, 2024
1 parent 2db3f2d commit 9b6bd46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/kernels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ end

i = @index(Global, Linear)

@inbounds for j = 1:length(atoms)
@inbounds for j = 1:i
if i != j
f = sum_pairwise_forces(inters, atoms[i], atoms[j], Val(F), false, coords[i], coords[j], boundary, velocities[i], velocities[j], step_n)
for dim in 1:D
Expand Down
4 changes: 2 additions & 2 deletions src/setup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1290,8 +1290,8 @@ function System(T::Type,
)
end

atoms = ArrayType(atoms)
coords = ArrayType(coords)
atoms = ArrayType([atoms_abst...])
coords_dev = ArrayType(coords)

if isnothing(velocities)
if units
Expand Down

0 comments on commit 9b6bd46

Please sign in to comment.