Skip to content

Commit

Permalink
remove unnecessary Ref
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrodium committed Apr 8, 2024
1 parent 33aed4a commit 5fc05c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/polygons.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ Move (permanently) a polygon from `frompoint` to `topoint`.
"""
function polymove!(pgon, frompoint::Point, topoint::Point)
d = topoint - frompoint
return pgon .+= Ref(d)
return pgon .+= d
end

"""
Expand Down

0 comments on commit 5fc05c4

Please sign in to comment.