Skip to content

Commit

Permalink
Fix warning in ParaboloidSurface
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Dec 20, 2023
1 parent b318829 commit ae0431b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primitives/paraboloidsurface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ParaboloidSurface(apex::Tuple, radius, focallength) = ParaboloidSurface(Point(ap

ParaboloidSurface(apex::Point{3,T}, radius) where {T} = ParaboloidSurface(apex, T(radius), T(1))

ParaboloidSurface(apex::Tuple, radius) where {T} = ParaboloidSurface(Point(apex), radius)
ParaboloidSurface(apex::Tuple, radius) = ParaboloidSurface(Point(apex), radius)

ParaboloidSurface(apex::Point{3,T}) where {T} = ParaboloidSurface(apex, T(1))

Expand Down

0 comments on commit ae0431b

Please sign in to comment.