JuliaMath / JuliaMath/RandomMatrices.jl

`sprand(d::GaussianJacobi, n::Integer, a::Real, b::Real)` is redundant

Aperta
#88 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
94
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The arguments `a` and `b` aren't needed because `GaussianJacobi` types have the fields `d.a` and `d.b`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Locate the implementation and call sites for `sprand(d::GaussianJacobi, n::Integer, a::Real, b::Real)`, then inspect how `GaussianJacobi` exposes `d.a` and `d.b`. Remove the redundant arguments consistently and update any affected tests or callers; done means the API uses the distribution fields without changing behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
julia
Ambito
data
Tipo di issue
Refactoring
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.