Skip to content

Conversation

@soswow
Copy link
Contributor

@soswow soswow commented Sep 13, 2025

No description provided.

Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Sep 13, 2025

Codecov Report

❌ Patch coverage is 93.03797% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.39%. Comparing base (2cca6c5) to head (65f2675).

Files with missing lines Patch % Lines
src/rawtoaces_util/image_converter.cpp 50.00% 7 Missing ⚠️
src/rawtoaces_core/rawtoaces_core.cpp 93.18% 3 Missing ⚠️
src/rawtoaces_core/mathOps.h 98.90% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #195      +/-   ##
==========================================
+ Coverage   74.20%   74.39%   +0.18%     
==========================================
  Files          10       10              
  Lines        2198     2226      +28     
  Branches      237      292      +55     
==========================================
+ Hits         1631     1656      +25     
- Misses        567      570       +3     
Files with missing lines Coverage Δ
src/rawtoaces_core/define.h 96.61% <100.00%> (ø)
src/rawtoaces_core/spectral_data.cpp 75.46% <100.00%> (-0.23%) ⬇️
src/rawtoaces_core/mathOps.h 99.30% <98.90%> (+0.05%) ⬆️
src/rawtoaces_core/rawtoaces_core.cpp 86.15% <93.18%> (+0.13%) ⬆️
src/rawtoaces_util/image_converter.cpp 56.69% <50.00%> (-0.22%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2cca6c5...65f2675. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
@soswow soswow changed the title Get rid of FORI Get rid of FORI, FORJ, FORIJ and clear warnings Sep 13, 2025
template <typename T> vector<T> invertV( const vector<T> &vMtx )
{
int size = std::sqrt( static_cast<int>( vMtx.size() ) );
size_t size = std::sqrt( static_cast<size_t>( vMtx.size() ) );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still need this cast?

const SpectralData &camera,
const SpectralData &illuminant,
const SpectralData &camera,
const SpectralData & /* illuminant */,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe remove the parameter completely, if it's not needed

Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
settings.auto_bright = arg_parser["auto-bright"].get<int>();
settings.adjust_maximum_threshold =
arg_parser["adjust-maximum-threshold"].get<int>();
static_cast<float>( arg_parser["adjust-maximum-threshold"].get<int>() );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be get<float>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah. I believe @mikaelsundell has fixed that in his branch. We can merge as it is now if rest is ok, and he will fix it up in merge conflict stage. he woul dhave merge conflict regardless if I fix it now

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll fix it now

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
@antond-weta antond-weta merged commit 94d2d16 into AcademySoftwareFoundation:main Sep 14, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants