damar-wicaksono / uqtestfuns

A Python3 library of test functions from the uncertainty quantification community with a common interface for validation and benchmarking purposes.
https://uqtestfuns.readthedocs.io/en/latest/
MIT License
8 stars 0 forks source link

Simplify the interface to set the seed number of a UQ test function #279

Closed damar-wicaksono closed 1 year ago

damar-wicaksono commented 1 year ago

Seed number is only relevant for the ProbInput and UnivDist instances from which a get_sample() method can be called. As soon as reseting the RNG with a given random seed can be achieved with reset_rng() method called on the instances above (see Issue #264), we can simplify the interface for the test functions constructor by removing rng_seed_prob_input argument (which is a bit ugly, anyway).

damar-wicaksono commented 1 year ago

This issue has been resolved by PR #281.