fix Issue 10214 - Incorrect "element-wise assignment is better" warning
Merge pull request #2103 from 9rnsr/fix10214

Issue 10214 - Incorrect "element-wise assignment is better" warning