https://bz.apache.org/bugzilla/show_bug.cgi?id=60848
--- Comment #7 from Greg Woolsey <gwool...@apache.org> --- The current logic is completely dependent on the internal class type of of the first argument. As I mentioned, the problem is with the unary negation operator (minus). I haven't tested it, but I suspect the second argument is actually evaluating to a single value instead of an array, and projecting that across the first argument array, rather than taking the pairwise product of arrays of equal size. There won't be a simple fix. You are welcome to check out the source code and play with it. If you come up with a fix and unit test, we'd love to incorporate a patch. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org