Skip to content

Commit

Permalink
Hopefully fix build error on 18.04 GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
mvieth authored Mar 30, 2021
1 parent 70c37ba commit f2740ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmarks/features/normal_3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ int main(int argc, char** argv) {
std::cerr << "No test files given. Please download `table_scene_mug_stereo_textured.pcd` and `milk_cartoon_all_small_clorox.pcd`, and pass their paths to the test." << std::endl;
return (-1);
}
benchmark::RegisterBenchmark("BM_NormalEstimation_mug", BM_NormalEstimation, argv[1])->Arg(50)->Arg(100)->Unit(benchmark::kMillisecond);
benchmark::RegisterBenchmark("BM_NormalEstimation_milk", BM_NormalEstimation, argv[2])->Arg(50)->Arg(100)->Unit(benchmark::kMillisecond);
benchmark::RegisterBenchmark("BM_NormalEstimation_mug", &BM_NormalEstimation, argv[1])->Arg(50)->Arg(100)->Unit(benchmark::kMillisecond);
benchmark::RegisterBenchmark("BM_NormalEstimation_milk", &BM_NormalEstimation, argv[2])->Arg(50)->Arg(100)->Unit(benchmark::kMillisecond);
#ifdef _OPENMP
benchmark::RegisterBenchmark("BM_NormalEstimationOMP", BM_NormalEstimationOMP, argv[1])->Unit(benchmark::kMillisecond);
benchmark::RegisterBenchmark("BM_NormalEstimationOMP", &BM_NormalEstimationOMP, argv[1])->Unit(benchmark::kMillisecond);
#endif
benchmark::Initialize(&argc, argv);
benchmark::RunSpecifiedBenchmarks();
Expand Down

0 comments on commit f2740ce

Please sign in to comment.