Skip to content

Compiler error when using absl::uint28 as content_type for RTrees #1430

@totakura

Description

@totakura

Compile fails with the error:

...
../boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp:135:33: error: conversion from 'type' (aka 'double') to 'uint128' is ambiguous
  135 |         if ( min_content_diff < -std::numeric_limits<double>::epsilon() || std::numeric_limits<double>::epsilon() < min_content_diff )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

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