From 77710e1ceca7776a6351692bc0c30e5f6375d466 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Sun, 27 Sep 2026 11:48:23 +0200 Subject: [PATCH] ShadowFinder: the arm search's dim plane as a zero-filled Plane, for the merged helpers Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01D1G8gJVAy6gp1K5Dz3NE5C --- image_analysis/beam_stop/ShadowFinder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_analysis/beam_stop/ShadowFinder.cpp b/image_analysis/beam_stop/ShadowFinder.cpp index 29a4f83c3..715ad1198 100644 --- a/image_analysis/beam_stop/ShadowFinder.cpp +++ b/image_analysis/beam_stop/ShadowFinder.cpp @@ -958,7 +958,7 @@ std::vector ShadowFinder::GetMask(size_t nthreads) const { } }); - std::vector dim(n_pixels, 0); + Plane dim = filled_plane(n_pixels, 0, nthreads); ParallelChunks(n_pixels, nthreads, [&](int lo, int hi) { for (int i = lo; i < hi; i++) { if (!valid[i] || region[i] || ratio[i] >= PENUMBRA_RATIO)