DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36450>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36450 Summary: RunTimeException in EmpiricalDistributionImpl.load(double[]) Product: Commons Version: Nightly Builds Platform: PC OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: Math AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Overview Description: I get the following RunTimeException when loading data into an instance of EmpiricalDistributionImpl: java.lang.RuntimeException: Index: 1000, Size: 1000 at org.apache.commons.math.random.EmpiricalDistributionImpl.load (EmpiricalDistributionImpl.java:111) at BreakEmpiricalDistributionImpl.main(BreakEmpiricalDistributio nImpl.java:7) Exception in thread "main" Here is a small program to reproduce the problem: import org.apache.commons.math.random.EmpiricalDistributionImpl; public class BreakEmpiricalDistributionImpl { public static void main(String[] args) { double[] x = new double[] {9474.94326071674, 2080107.8865462579}; new EmpiricalDistributionImpl().load(x); } } Build Date & Platform: Build 2005-08-31 on Windows 2000 with Sun JDK 1.4.2_09 Additional Builds and Platforms: -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
