Commit 55f7d0e6 authored by Vladislav Sovrasov's avatar Vladislav Sovrasov

Fix not initialized raw pointers in PPF3DDetector

parent 31e96057
...@@ -129,6 +129,9 @@ PPF3DDetector::PPF3DDetector() ...@@ -129,6 +129,9 @@ PPF3DDetector::PPF3DDetector()
angle_step = angle_step_radians; angle_step = angle_step_radians;
trained = false; trained = false;
hash_table = NULL;
hash_nodes = NULL;
setSearchParams(); setSearchParams();
} }
...@@ -142,6 +145,9 @@ PPF3DDetector::PPF3DDetector(const double RelativeSamplingStep, const double Rel ...@@ -142,6 +145,9 @@ PPF3DDetector::PPF3DDetector(const double RelativeSamplingStep, const double Rel
angle_step = angle_step_radians; angle_step = angle_step_radians;
trained = false; trained = false;
hash_table = NULL;
hash_nodes = NULL;
setSearchParams(); setSearchParams();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment