Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix enumerate documentation #30398

Merged
merged 1 commit into from
Feb 14, 2019
Merged

Fix enumerate documentation #30398

merged 1 commit into from
Feb 14, 2019

Commits on Dec 15, 2018

  1. Fix enumerate documentation

    The `enumerate` method referred to in the current definition no longer exists and has been deprecated to a method of `pairs` in 0.7.
    
    Thanks to @simonschoelly for pointing this out.
    
    ```
    julia> using OffsetArrays;
    julia> pairs(IndexLinear(),OffsetArray(1:5, -2:2))
    pairs(::OffsetArray{Int64,1,UnitRange{Int64}}) with 5 entries:
      -2 => 1
      -1 => 2
      0  => 3
      1  => 4
      2  => 5
    ```
    yurivish authored Dec 15, 2018
    Configuration menu
    Copy the full SHA
    5a1b425 View commit details
    Browse the repository at this point in the history