OccupancyGrid: added getCache() method

This commit is contained in:
matlabbe
2018-08-02 16:53:44 -04:00
parent e03da92a90
commit a0342671ac
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1162,7 +1162,7 @@ std::vector<int> VWDictionary::findNN(const cv::Mat & queryIn) const
{
float d = dists.at<float>(i,j);
int index;
UWARN("results elemSize1=%d", results.elemSize1());
if (sizeof(size_t) == 8)
{
index = *((size_t*)&results.at<double>(i, j));