Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Jun 8, 2023
1 parent 08ad960 commit cc08b21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/Operators/finitedifference/opt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ end
center_values = ones(FT, center_space)
center_velocities = Geometry.WVector.(center_values)

filter(@nospecialize(ft)) = ft !== typeof(Base.mapreduce_empty)
filter(@nospecialize f) = f !== Base.mapreduce_empty

# face space operators
@test_opt function_filter = filter sum(ones(FT, face_space))
Expand Down
2 changes: 1 addition & 1 deletion test/Operators/hybrid/opt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ end
center_values = ones(FT, center_space)
center_velocities = Geometry.WVector.(center_values)

filter(@nospecialize(ft)) = ft !== typeof(Base.mapreduce_empty)
filter(@nospecialize f) = f !== Base.mapreduce_empty

# face space operators
@test_opt function_filter = filter sum(ones(FT, face_space))
Expand Down
2 changes: 1 addition & 1 deletion test/Operators/spectralelement/opt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ end

@static if @isdefined(var"@test_opt")

filter(@nospecialize(ft)) = ft !== typeof(Base.mapreduce_empty)
filter(@nospecialize f) = f !== Base.mapreduce_empty

function test_operators(field, vfield)
@test_opt opt_Gradient(field)
Expand Down

0 comments on commit cc08b21

Please sign in to comment.