You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alex Herbert (Jira)" <ji...@apache.org> on 2021/07/24 06:35:01 UTC

[jira] [Resolved] (RNG-157) Deprecate UnitSphereSampler constructor

     [ https://issues.apache.org/jira/browse/RNG-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Herbert resolved RNG-157.
------------------------------
    Resolution: Implemented

Updated in commit:

f3c84f761abaa7ca8908eaefa87dd715b7ad1f33

> Deprecate UnitSphereSampler constructor
> ---------------------------------------
>
>                 Key: RNG-157
>                 URL: https://issues.apache.org/jira/browse/RNG-157
>             Project: Commons RNG
>          Issue Type: Improvement
>          Components: sampling
>    Affects Versions: 1.3
>            Reporter: Alex Herbert
>            Priority: Trivial
>             Fix For: 1.4
>
>
> The UnitSphereSampler public constructor creates a wrapper class around a delegate which implements sampling. Use of the factory constructor directly creates the optimal sampler. So use of the constructor should be avoided. Marking it as deprecated would encourage users to change to the optimal factory constructor.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)