Skip to content
Snippets Groups Projects
Commit 7c1c5d3a authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

bugfix: 1e-10 instead of 1e10

[[Imported from SVN: r6756]]
parent 870a255e
No related branches found
No related tags found
No related merge requests found
...@@ -270,8 +270,7 @@ public: ...@@ -270,8 +270,7 @@ public:
for (int m=0; m<3; m++) { for (int m=0; m<3; m++) {
#warning There is a bug in the following line! result[m][i] = (norm<1e-10)
result[m][i] = (norm<1e10)
/** \todo Isn't there a better way to implement this stably? */ /** \todo Isn't there a better way to implement this stably? */
? 0.5 * (i==m) ? 0.5 * (i==m)
: 0.5 * std::cos(norm/2) * v[i] * v[m] / (norm*norm) + sincHalf(norm) * ( (i==m) - v[i]*v[m]/(norm*norm)); : 0.5 * std::cos(norm/2) * v[i] * v[m] / (norm*norm) + sincHalf(norm) * ( (i==m) - v[i]*v[m]/(norm*norm));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment