Skip to content

Error with large arrays #7

@draibolit

Description

@draibolit

I tried with small arrays, it worked but it raised error with the larger ones.

The error was as following:

Running ICP (point-to-plane, no outliers)
openGLScratch: /mnt/linuxdisk/localdev/boost_1_76_0/build/include/boost/multi_array/base.hpp:177: Reference boost::detail::multi_array::value_accessor_one<T>::access(boost::type<Reference>, boost::detail::multi_array::value_accessor_one<T>::index, TPtr, const size_type*, const index*, const index*) const [with Reference = const float&; TPtr = const float*; T = float; boost::detail::multi_array::value_accessor_one<T>::index = long int; boost::detail::multi_array::multi_array_base::size_type = long unsigned int]: Assertion `idx - index_bases[0] >= 0' failed.
Aborted (core dumped)

I traced down to the code in kdtree.cpp:185

            sum += the_data[ind[k]][c];

Here are the point cloud files

https://www.dropbox.com/sh/7ov8hf5dp45d42r/AACDvZlPWiziFxkkSjmEZdpJa?dl=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions