Skip to content

Segfault on degenerated plan call #1315

@jcoupey

Description

@jcoupey

Running in plan mode in a situation where jobs have the same location as the vehicle start:

{
  "vehicles": [
    {
      "id": 1,
      "start": [
        X,
        Y
      ],
      "steps": [
        {
          "id": 1,
          "type": "job"
        }
      ]
    }
  ],
  "jobs": [
    {
      "id": 1,
      "location": [
        X,
        Y
      ]
    }
  ]
}

used to work in v1.14, resulting in a zero-cost route as expected. With current v1.15-rc.1, this yields a segfault.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions