Skip to content

a strange error about '''boost''' library #135

@tinmodeHuang

Description

@tinmodeHuang

I'm trying to merge the project with my algorithems, but an error popped up when running the one of algorithems, it is so hard for me to locate which code snippet causes the error, so I'm here for help.
the error shows as follow:

python3: external/boost/boost/geometry/index/rtree.hpp:1469: 
void boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::raw_insert(const value_type&) [
with Value = std::pair<boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, unsigned int>; 
Parameters = boost::geometry::index::linear<16, 4>; 
IndexableGetter = boost::geometry::index::indexable<std::pair<boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, unsigned int> >;
EqualTo = boost::geometry::index::equal_to<std::pair<boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, unsigned int> >; 
Allocator = boost::container::new_allocator<std::pair<boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, unsigned int> >; 
boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::value_type = std::pair<boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, unsigned int>]: 
Assertion `(detail::is_valid(m_members.translator()(value)))&&("Indexable is invalid")' failed.

I'm willing if you ask me to post algorithems for solving it. thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions