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 D Herbert (JIRA)" <ji...@apache.org> on 2019/02/15 13:31:00 UTC

[jira] [Created] (RNG-71) Validate parameters for the distribution samplers

Alex D Herbert created RNG-71:
---------------------------------

             Summary: Validate parameters for the distribution samplers
                 Key: RNG-71
                 URL: https://issues.apache.org/jira/browse/RNG-71
             Project: Commons RNG
          Issue Type: Improvement
          Components: sampling
    Affects Versions: 1.3
            Reporter: Alex D Herbert


The {{PoissonSampler}} throws {{IllegalArgumentException}} if the mean is not valid.

Many of the other samplers do not check the input parameters are valid for the distribution. I propose to add checks for all the samplers that the parameters are valid.

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)