diff options
| author | Nikita Kostovsky <nikita@kostovsky.me> | 2026-07-15 10:13:10 +0200 |
|---|---|---|
| committer | Nikita Kostovsky <nikita@kostovsky.me> | 2026-07-15 10:13:10 +0200 |
| commit | 2aefb6902465c3c8a313f95bb1b7d9a80fe4c52a (patch) | |
| tree | 525cafbc1a9f38df2f0d2ebe6fe9fd206e5f30d0 /src/pixels.cpp | |
| parent | 169ddcb09cd26fa0a685f691f63b49e70e1be93b (diff) | |
in the middle of non-linear pixels debuggingconflicting_master
Diffstat (limited to 'src/pixels.cpp')
| -rw-r--r-- | src/pixels.cpp | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/pixels.cpp b/src/pixels.cpp index 5b7b226..3183257 100644 --- a/src/pixels.cpp +++ b/src/pixels.cpp @@ -120,17 +120,18 @@ Pixels::operator bool() const bool Pixels::debugPrintIfInvalid() const { - const bool valid{std::find_if(std::execution::par_unseq, - pixels.cbegin(), - pixels.cend(), - [](const auto &p) { return p > 280; }) - == pixels.cend()}; + // const bool valid{std::find_if(std::execution::par_unseq, + // pixels.cbegin(), + // pixels.cend(), + // [](const auto &p) { return p > 280; }) + // == pixels.cend()}; - if (!valid) { - qCritical() << Q_FUNC_INFO << "got invalid profile:" << *this; - } + // if (!valid) { + // qCritical() << Q_FUNC_INFO << "got invalid profile:" << *this; + // } - return valid; + // return valid; + return true; } // std::lock_guard<std::mutex> Pixels::lock() |
