Skip to content

Commit

Permalink
Avoid precision problem on 32-bit system. Refs #6527
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Feb 22, 2013
1 parent d7b0795 commit c43f1f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class GetDetOffsetsMultiPeaksTest : public CxxTest::TestSuite
for (size_t i = 0; i < Y.size(); ++i)
{
const double x = (X[i]+X[i+1])/2;
Y[i] = 5.*exp(-0.5*pow((x-10)/1.0,2));
Y[i] = 5.1*exp(-0.5*pow((x-10)/1.0,2));
E[i] = 0.001;
}

Expand Down

0 comments on commit c43f1f0

Please sign in to comment.