From 72857df1fed9910a688064d88f62ec38049fc0ff Mon Sep 17 00:00:00 2001 From: Phil Steitz Date: Sun, 24 Oct 2004 21:47:16 +0000 Subject: [PATCH] Fixed test compile bug introduced in last commit. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141479 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/math/stat/regression/SimpleRegressionTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/org/apache/commons/math/stat/regression/SimpleRegressionTest.java b/src/test/org/apache/commons/math/stat/regression/SimpleRegressionTest.java index 903c6b10e..8e76594c9 100644 --- a/src/test/org/apache/commons/math/stat/regression/SimpleRegressionTest.java +++ b/src/test/org/apache/commons/math/stat/regression/SimpleRegressionTest.java @@ -23,7 +23,7 @@ import junit.framework.TestSuite; /** * Test cases for the TestStatistic class. * - * @version $Revision: 1.2 $ $Date: 2004/10/24 06:30:01 $ + * @version $Revision: 1.3 $ $Date: 2004/10/24 21:47:16 $ */ public final class SimpleRegressionTest extends TestCase { @@ -193,7 +193,7 @@ public final class SimpleRegressionTest extends TestCase { public void testInference() throws Exception { //---------- verified against R, version 1.8.1 ----- // infData - regression = new SimpleRegression(); + SimpleRegression regression = new SimpleRegression(); regression.addData(infData); assertEquals("slope std err", 0.011448491, regression.getSlopeStdErr(), 1E-10);