Skip to content

fatal error: Array index is out of range #695

Closed

Description

@ZZhaiDev

using 0.8.2
snip20171009_14
snip20171009_15
snip20171009_16

Activity

  1. ZZhaiDev commented on Oct 12, 2017

    @ZZhaiDev
    Author

    snip20171012_19
    snip20171012_20
    In my situation, sometimes it still crash after I updated to 0.8.3.
    it will not crash after a did this:
    replace
    let coordsForLeg = coordinates[previousLegCongestionIndex..<previousLegCongestionIndex + legCongestion.count]
    to
    let coordsForLeg = coordinates[previousLegCongestionIndex..<previousLegCongestionIndex + legCongestion.count + 1]
    but I want to know, does it have any other Bad influences to my code after I removed + 1.
    @bsudekum

  2. bsudekum commented on Oct 12, 2017

    @bsudekum
    Contributor

    @zijiazhai unfortunately this fix did not make it into 0.8.3. It will be included in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions