Sienna-Platform / Sienna-Platform/PowerNetworkMatrices.jl

`IndexStyle(PowerNetworkMatrix)` errors

Open
#91 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
31
Forks
22
Avg merge
1d 11h
Merged PRs (30d)
18

Description

Base.IndexStyle is supposed to return either IndexLinear() or IndexCartesian(). But we have
https://github.com/NREL-Sienna/PowerNetworkMatrices.jl/blob/0239dfcd140bc60415c2e0abdf3105dab13e3af7/src/PowerNetworkMatrix.jl#L151
where IndexAnyCartesian is not defined.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open src/PowerNetworkMatrix.jl at the IndexStyle implementation around line 151, then compare it with Julia's Base.IndexStyle array interface documentation. Confirm the returned index style is defined and supported, and verify the package's relevant tests or loading behavior no longer errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.