Sienna-Platform / Sienna-Platform/PowerNetworkMatrices.jl
`IndexStyle(PowerNetworkMatrix)` errors
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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