Repository navigation
proposal to merge to 1.93 #1524
Replies: 2 comments 5 replies
|
Thanks for taking care of the release preparation. I did a quick recheck #1504, #1500, #1498, those seem completely safe. I checked #1498 and #1505, which I failed to review in a timely manner before merge. #1498 seems like a strict improvement as far as I can see, should not affect any reasonable cases and make some unreasonable cases that may differ on ARM or AVX512 behave the same as already expected from the main testing platforms (x86-64 with SSE2 or x87 behavior), so at least more consistent. #1505 looks fine, but it's the kind of thing that seems like it could regress a degenerate case not by the change itself being wrong in any sense but by the previous behavior coincidentally hiding degeneracies. When knowing what to look for, LLMs can find such cases. regression_1505.cpp#include <boost/geometry.hpp>
#include <iomanip>
#include <iostream>
#include <limits>
namespace bg = boost::geometry;
int main()
{
using Point = bg::model::d2::point_xy<double>;
using Polygon = bg::model::polygon<Point>;
Polygon input;
bg::read_wkt(
"POLYGON((0.8 0.0002,0 0,0.4 0.002,0.5 0.0002,1 0.0005,0.8 0.0002))",
input);
constexpr int precision = std::numeric_limits<double>::max_digits10;
std::cerr << std::boolalpha << std::setprecision(precision)
<< "Before bg::correct valid=" << bg::is_valid(input)
<< " area=" << bg::area(input) << '\n'
<< bg::wkt(input) << '\n';
bg::correct(input);
std::cerr << "After bg::correct valid=" << bg::is_valid(input)
<< " area=" << bg::area(input) << '\n'
<< bg::wkt(input) << '\n';
bg::model::multi_polygon<Polygon> output;
bg::buffer(input, output,
bg::strategy::buffer::distance_symmetric<double>(1.0),
bg::strategy::buffer::side_straight(),
bg::strategy::buffer::join_round(90),
bg::strategy::buffer::end_round(90),
bg::strategy::buffer::point_circle(90));
std::cout << std::setprecision(std::numeric_limits<double>::max_digits10)
<< bg::wkt(output) << '\n';
std::cout << std::setprecision(precision) << bg::wkt(output) << '\n';
}That's in my opinion not a blocker for merging #1505 into develop at all (and it would be too late for me to state that anyway) and I think it's correct to keep it. These edge cases are, as far as I can see, pseudorandom under the current robustness model. But might be a blocker on merging it post-beta, depending on how strict the policy is to be interpreted (I'm not a boostorg member and don't know prior practice). I agree with all the postponement decisions. |
|
CI Then set vcvars_version: '14.5' for the msvc-14.5 entry (numbers guessed) Related to #1504 |

Uh oh!
There was an error while loading. Please reload this page.
hi @vissarion @tinko92
I propose to ask permission for these additional commits:
And postpone: #1508 and #1502, and the big ones of @tinko92
And postpone the not-bug-fixes: stable_sort macro, ring registration, ...
All reactions