Skip to content

Commit

Permalink
drop unbound type parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Sep 26, 2024
1 parent a76adb7 commit e88af17
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/specializations/ConeSurface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function integral(
cone::Meshes.ConeSurface,
rule::I;
kwargs...
) where {F <: Function, I <: IntegrationRule, T <: AbstractFloat}
) where {F <: Function, I <: IntegrationRule}
# The generic method only parameterizes the sides
sides = _integral(f, cone, rule; kwargs...)

Expand Down
2 changes: 1 addition & 1 deletion src/specializations/CylinderSurface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function integral(
cyl::Meshes.CylinderSurface,
rule::I;
kwargs...
) where {F <: Function, I <: IntegrationRule, T <: AbstractFloat}
) where {F <: Function, I <: IntegrationRule}
# The generic method only parameterizes the sides
sides = _integral(f, cyl, rule; kwargs...)

Expand Down
2 changes: 1 addition & 1 deletion src/specializations/FrustumSurface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function integral(
frust::Meshes.FrustumSurface,
rule::I;
kwargs...
) where {F <: Function, I <: IntegrationRule, T <: AbstractFloat}
) where {F <: Function, I <: IntegrationRule}
# The generic method only parameterizes the sides
sides = _integral(f, frust, rule; kwargs...)

Expand Down
4 changes: 2 additions & 2 deletions src/specializations/Rope.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function integral(
rope::Meshes.Rope,
rule::I;
kwargs...
) where {F <: Function, I <: IntegrationRule, T <: AbstractFloat}
# Convert the Rope into Segments, sum the integrals of those
) where {F <: Function, I <: IntegrationRule}
# Convert the Rope into Segments, sum the integrals of those
return sum(segment -> integral(f, segment, rule; kwargs...), Meshes.segments(rope))
end

0 comments on commit e88af17

Please sign in to comment.