Skip to content

Commit

Permalink
Merge pull request #339 from stephenswat/perf/gain_matrix_smoother_fp64
Browse files Browse the repository at this point in the history
Replace FP64 by FP32 in gain matrix smoother
  • Loading branch information
stephenswat authored Mar 17, 2023
2 parents 5b5b6c1 + 4aa6139 commit 59ffb25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ struct gain_matrix_smoother {
const matrix_type<6, 6>& cur_filtered_cov = cur_filtered.covariance();

// Regularization matrix for numerical stability
static constexpr double epsilon = 1e-13;
static constexpr scalar epsilon = 1e-13;
const matrix_type<6, 6> regularization =
matrix_operator().template identity<e_bound_size, e_bound_size>() *
epsilon;
Expand Down

0 comments on commit 59ffb25

Please sign in to comment.