Skip to content

fix(math): handle null and empty inputs in average methods#760

Open
SYaoJun wants to merge 1 commit intoapache:masterfrom
SYaoJun:0303_average
Open

fix(math): handle null and empty inputs in average methods#760
SYaoJun wants to merge 1 commit intoapache:masterfrom
SYaoJun:0303_average

Conversation

@SYaoJun
Copy link
Contributor

@SYaoJun SYaoJun commented Mar 3, 2026

What changes were proposed in this pull request?

Add tests when array and list is empty to avoid throw devide zero exception.

How was this PR tested?

  • Tests have Added for the changes
  • Production environment verified

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.

1 participant