poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60848] SUMPRODUCT fails when first arg is of form --(...)
Date Tue, 21 Mar 2017 18:49:28 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60848

--- Comment #7 from Greg Woolsey <gwoolsey@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-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message