-
Notifications
You must be signed in to change notification settings - Fork 57
Get rid of FORI, FORJ, FORIJ and clear warnings #195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get rid of FORI, FORJ, FORIJ and clear warnings #195
Conversation
Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
Codecov Report❌ Patch coverage is
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
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
src/rawtoaces_core/mathOps.h
Outdated
| 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() ) ); |
There was a problem hiding this comment.
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 */, |
There was a problem hiding this comment.
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>
| 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>() ); |
There was a problem hiding this comment.
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>
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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>
No description provided.