LSSTDESC / qp

Quantile Parametrization for probability distribution functions module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passing kwargs when instantiating quant Ensemble produces an error

drewoldag opened this issue · comments

For example:

>> quant_dist = qp.quant(quants=new_quants, locs=new_locs, pdf_constructor='cdf_spline_derivative')

TypeError: rv_continuous.init() got an unexpected keyword argument 'pdf_constructor'

Shouldn't that be pdf_constructor_name='cdf_spline_derivative' ?

Oops, yeah, you're right. Providing the correct argument name, does not produce an error.