Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
mikeingold and github-actions[bot] authored Nov 11, 2024
1 parent 21c4fe5 commit 55c3021
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/specializations/_ParametricGeometry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ no longer be required.
- `fun::Function` - a parametric function: (ts...) -> Meshes.Point
- `dims::Int64` - the geometry's number of parametric dimensions
"""
struct _ParametricGeometry{M <: Meshes.Manifold, C <: CRS, F <: Function, Dim} <: Meshes.Primitive{M, C}
struct _ParametricGeometry{M <: Meshes.Manifold, C <: CRS, F <: Function, Dim} <:
Meshes.Primitive{M, C}
fun::F

function _ParametricGeometry{M, C}(
Expand Down
2 changes: 1 addition & 1 deletion test/combinations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,6 @@ end
# Type stability
f32(p) = 1.0f0
triangle32 = Triangle(a(Float32), b(Float32), c(Float32))
int_FP32 = integral(f32, triangle32, GaussLegendre(100); FP=Float32)
int_FP32 = integral(f32, triangle32, GaussLegendre(100); FP = Float32)
@test typeof(int_FP32.val) == Float32
end

0 comments on commit 55c3021

Please sign in to comment.