Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with large arrays #7

Open
draibolit opened this issue Jun 12, 2021 · 0 comments
Open

Error with large arrays #7

draibolit opened this issue Jun 12, 2021 · 0 comments

Comments

@draibolit
Copy link

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

@draibolit draibolit changed the title Error with a large array Error with large arrays Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant