Skip to content

Commit

Permalink
Re #4158. Found the real bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed Apr 4, 2012
1 parent 1b91d6b commit 9a0d906
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Code/Mantid/Framework/CurveFitting/test/GSLMatrixTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ class GSLMatrixTest : public CxxTest::TestSuite
m2.set(1,0,7);
m2.set(1,1,8);
GSLMatrix m3(2,2);
m2.set(0,0,9);
m2.set(0,1,10);
m2.set(1,0,11);
m2.set(1,1,12);
m3.set(0,0,9);
m3.set(0,1,10);
m3.set(1,0,11);
m3.set(1,1,12);

GSLMatrix m;

Expand All @@ -146,7 +146,7 @@ class GSLMatrixTest : public CxxTest::TestSuite
{
d += m1.get(k,i) * m2.get(k,l) * m3.get(l,j);
}
TS_ASSERT_DELTA( fabs(d - m.get(i,j)), 0.0, 1e-6 );
TS_ASSERT_DELTA( d, m.get(i,j), 1e-8 );
}
}

Expand Down

0 comments on commit 9a0d906

Please sign in to comment.