-
Notifications
You must be signed in to change notification settings - Fork 228
Closed
Description
In the attached program I try to serialize/deserialize a tree with a single element. It fails on deserialize in:
if ( elements_count < parameters.get_min_elements() || parameters.get_max_elements() < elements_count )
BOOST_THROW_EXCEPTION(std::runtime_error("rtree loading error"));
since there is just one element the root node must violate the min_elements rule (min of 4 in this case). This shouldn't be an error. I expect this is easy to fix but I don't know the internals.
test.cpp.gz