Skip to content

Commit

Permalink
Merge pull request #36 from vsamy/topic/characters_fix
Browse files Browse the repository at this point in the history
Topic/characters fix
  • Loading branch information
gergondet authored Jun 16, 2020
2 parents 107e81a + b87e2a6 commit 95d2542
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/SpaceVecAlg/MathFunc.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ T sinc_inv(const T x)

// We use the 4th order taylor series around 0 of x/sin(x) to compute
// this function:
// 2 4
// x 7⋅x ⎛ 6⎞
// 1 + ── + ──── + O⎝x ⎠
//
// x^2 7x^4
// 1 + ── + ──── + O(x^6)
// 6 360
// this approximation is valid around 0.
// if x is far from 0, our approximation is not valid
// since x^6 becomes non negligable we use the normal computation of the function
// since x^6 becomes non neglectable we use the normal computation of the function
// (i.e. taylor_2_bound^6 + taylor_0_bound == taylor_0_bound but
// taylor_n_bound^6 + taylor_0_bound != taylor_0).

Expand Down

0 comments on commit 95d2542

Please sign in to comment.