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

documentation fix

[[Imported from SVN: r7225]]
parent 10bc7603
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
template <int N> template <int N>
class UnitVector class UnitVector
{ {
/** \brief Computes sin(x/2) / x without getting unstable for small x */ /** \brief Computes sin(x) / x without getting unstable for small x */
static double sinc(const double& x) { static double sinc(const double& x) {
return (x < 1e-4) ? 1 - (x*x/6) : std::sin(x)/x; return (x < 1e-4) ? 1 - (x*x/6) : std::sin(x)/x;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment