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:28:00 UTC

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

Alex Herbert created RNG-157:
--------------------------------

             Summary: 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
             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)