Skip to content

Commit

Permalink
Merge pull request #246 from SpeedyWeather/mk/eachgridpoint
Browse files Browse the repository at this point in the history
remove callside @inline as this requires 1.8
  • Loading branch information
milankl committed Feb 7, 2023
2 parents 81d2eba + e048df8 commit b2e5fec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/RingGrids/grids_general.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ end
UnitRange `ijs` to access each grid point on grid `grid`."""
eachgridpoint(grid::AbstractGrid) = Base.OneTo(get_npoints(grid))
function eachgridpoint(grid1::Grid,grids::Grid...) where {Grid<:AbstractGrid}
@inline
n = length(grid1)
Base._all_match_first(X->length(X),n,grid1,grids...) || throw(BoundsError)
return eachgridpoint(grid1)
Expand Down

0 comments on commit b2e5fec

Please sign in to comment.