/[Apache-SVN]
ViewVC logotype

Revision 140853


Jump to revision: Previous Next
Author: tobrien
Date: Thu May 22 15:19:32 2003 UTC (21 years, 6 months ago)
Changed paths: 1
Log Message:
The EmpiricalDistributionImpl that submitted yesterday assumed the "old"
Univariate interface, in which getN() returned a double.  The attached patch
inserts the necessary casts to avoid the rounding/truncation errors that were
causing the EmpiricalDistribution and ValueServer unit tests to fail.

The patch also adds a RandomData member variable so that getNext() does not
instantiate a new RandomData instance for each activation

PR: Bugzilla #20149
Obtained from: Issue Patch
Submitted by: Phil Steitz
Reviewed by: Tim O'Brien


Changed paths

Path Details
Directoryjakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/EmpiricalDistributionImpl.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26