Commit a61a0cf4 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #1096 from sovrasov:ppf3d_init_fix

parents 68b62860 55f7d0e6
...@@ -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