Skip to content
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

A few vrv utility improvements #3920

Merged
merged 5 commits into from
Jan 27, 2025
Merged

Conversation

brdvd
Copy link
Contributor

@brdvd brdvd commented Jan 26, 2025

This PR contains a few code improvements of the functions in vrv.h.

@rettinghaus rettinghaus requested a review from lpugin January 26, 2025 15:50
@@ -55,7 +55,7 @@ LogLevel StrToLogLevel(const std::string &level);
/**
* Utility for comparing doubles
*/
bool AreEqual(double dFirstVal, double dSecondVal);
bool AreNearlyEqual(double dFirstVal, double dSecondVal);
Copy link
Contributor

Choose a reason for hiding this comment

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

ApproximatelyEqual or AboutEqual might be better name for AreNearlyEqual (two words rather than three).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, sounds great.

@lpugin lpugin merged commit 5392150 into rism-digital:develop Jan 27, 2025
5 checks passed
@brdvd brdvd deleted the refactor/vrv branch January 27, 2025 08:50
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