Skip to content

Commit

Permalink
fix: Declare namespace classes for benchmark test
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulVerhoeckx committed Nov 15, 2021
1 parent abd5b79 commit 943c629
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ruvu_mcl/test/benchmark_gaussian_landmark_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
#include "../src/sensor_models/landmark.hpp"
#include "benchmark/benchmark.h"

using ruvu_mcl::GaussianLandmarkModel;
using ruvu_mcl::GaussianLandmarkModelConfig;
using ruvu_mcl::LandmarkList;
using ruvu_mcl::ParticleFilter;
using ruvu_mcl::Rng;

double prob(double a, double var) { return exp(-a * a / 2 / var); }

LandmarkList random_landmarks(const std::shared_ptr<Rng> & rng, int nlandmarks)
Expand Down

0 comments on commit 943c629

Please sign in to comment.