Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LasNikas committed Nov 27, 2023
1 parent db8e819 commit 04f3437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setups/sphere_shape.jl
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ struct RoundSphere{AR}
angle_range::AR
function RoundSphere(; start_angle=0.0, end_angle=2π)
if start_angle > end_angle
throw(ArgumentError("`end_angle` should be greate than `start_angle`."))
throw(ArgumentError("`end_angle` should be greater than `start_angle`."))
end
angle_range = (start_angle, end_angle)
new{typeof(angle_range)}(angle_range)
Expand Down

0 comments on commit 04f3437

Please sign in to comment.