With introduction of init = 0 in summation terms to fix for bug encountered when summing over an empty array
Description
What type of PR is this? (check all applicable)
[x] Bug Fix
[x] Documentation Update
[x] Performance Improvements
Related Tickets & Documents
Checklist
[x] Code changes are sufficiently documented; i.e. new functions contain docstrings and .md files under /docs/src have been updated if necessary.
[x] The latest changes on the target branch have been incorporated, so that any conflicts are taken care of before merging. This can be accomplished either by merging in the target branch (e.g. 'git merge develop') or by rebasing on top of the target branch (e.g. 'git rebase develop'). Please do not hesitate to reach out to the GenX development team if you need help with this.
[x] Code has been tested to ensure all functionality works as intended.
[x] CHANGELOG.md has been updated (if this is a 'notable' change).
[x] I consent to the release of this PR's code under the GNU General Public license.
How this can be tested
Post-approval checklist for GenX core developers
After the PR is approved
[x] Check that the latest changes on the target branch are incorporated, either via merge or rebase
[x] Remember to squash and merge if incorporating into develop
With introduction of init = 0 in summation terms to fix for bug encountered when summing over an empty array
Description
What type of PR is this? (check all applicable)
Related Tickets & Documents
Checklist
How this can be tested
Post-approval checklist for GenX core developers
After the PR is approved