ryantibs / quantgen

Tools for generalized quantile modeling
https://ryantibs.github.io/quantgen
14 stars 9 forks source link

Enforce array dimensions to avoid vector conversion #3

Closed sbfnk closed 4 years ago

sbfnk commented 4 years ago

Currently an error is thrown if quantile_ensemble is called and the number of ensemble components is 1 because of an automatic array-to-vector conversion done by R. This is a fix that enforces array dimensions.