Skip to content

Fix incorrect absolute minimum calculation#7536

Open
klerk1t wants to merge 2 commits into
TheAlgorithms:masterfrom
klerk1t:fix-AbsoluteMin
Open

Fix incorrect absolute minimum calculation#7536
klerk1t wants to merge 2 commits into
TheAlgorithms:masterfrom
klerk1t:fix-AbsoluteMin

Conversation

@klerk1t

@klerk1t klerk1t commented Jul 21, 2026

Copy link
Copy Markdown
  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new algorithms include a corresponding test class that validates their functionality.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter

codecov-commenter commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 80.32%. Comparing base (8a20fa9) to head (b8c0c4c).

Files with missing lines Patch % Lines
...main/java/com/thealgorithms/maths/AbsoluteMin.java 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7536      +/-   ##
============================================
- Coverage     80.32%   80.32%   -0.01%     
- Complexity     7402     7407       +5     
============================================
  Files           812      812              
  Lines         23911    23913       +2     
  Branches       4704     4706       +2     
============================================
+ Hits          19206    19207       +1     
- Misses         3944     3945       +1     
  Partials        761      761              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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

@klerk1t
klerk1t marked this pull request as ready for review July 21, 2026 18:30
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.

2 participants