fix Issue 10433 - Array sum operation in function template
Merge pull request #2236 from 9rnsr/fix10433

Issue 10433 - Array sum operation in function template