Skip to content

Commit

Permalink
fixed bug again
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed Aug 24, 2020
1 parent ce2ad05 commit 80caa73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mddf_frame_self.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function mddf_frame_self!(iframe :: Int64, framedata :: FrameData, options :: Op
# and move everything such that that center is in the origin. This is important
# to simplify the computation of cell indexes, as the minimum coordinates are
# automatically -side/2 at each direction
@. solute_center = x_solute[R.irefatom,1:3]
@. solute_center = x_solute[1:3,R.irefatom]
wrap!(x_solvent,sides,solute_center)
center_to_origin!(x_solvent,solute_center)

Expand Down
2 changes: 1 addition & 1 deletion src/mddf_linkedcells_self.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function mddf_linkedcells_self(trajectory, options :: Options)
# Will wrap everthing relative to one atom of the first solute molecule, and
# put that center at the origin, such that the minimum coordinates for cell indexing
# is -side/2 at each direction
@. solute_center = x_solvent[R.irefatom,1:3]
@. solute_center = x_solvent[1:3,R.irefatom]
wrap!(x_solvent,sides,solute_center)
center_to_origin!(x_solvent,solute_center)

Expand Down

0 comments on commit 80caa73

Please sign in to comment.