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

Bug fix Average #3036

Open
wants to merge 1 commit into
base: alpha
Choose a base branch
from
Open

Bug fix Average #3036

wants to merge 1 commit into from

Conversation

SNatis
Copy link

@SNatis SNatis commented Feb 19, 2025

Description

Suggested changelog entry

The statement "count($args) > 2" is present when the function average has only two arguments. When adding the "round" argument, this statement was not adapted. Specifying a rounding in the arguments of the average function causes it to systematically distort the results.

Related issues/external references

Fixes #

Types of changes

  • Bug fix (non-breaking change which fixes)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
    • This change is only breaking for integrators, not for external standards or end-users.
  • Documentation improvement

PR checklist

The statement "count($args) > 2" is present when the function average has only two arguments. When adding the "round" argument, this statement was not adapted.
Specifying a rounding in the arguments of the average function causes it to systematically distort the results.
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