Skip to content

Commit

Permalink
The semicolon should not be there.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczowkad committed Aug 11, 2016
1 parent 831e139 commit 10f1153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/geometry/segment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def intersection_point_with(segment)
denominator = (point2.y - point1.y) *
(segment.point1.x - segment.point2.x) -
(segment.point1.y - segment.point2.y) *
(point2.x - point1.x);
(point2.x - point1.x)

if numerator.is_a?(Integer) && denominator.is_a?(Integer)
numerator = numerator.to_f
Expand Down

0 comments on commit 10f1153

Please sign in to comment.