Commit 3a98d5ad authored by Igor Babuschkin's avatar Igor Babuschkin Committed by Vijay Vasudevan
Browse files

Enable segment reduction ops for complex numbers (#2567)

This enables segment reduction ops for the complex64 and complex128
dtypes, in order to bring their behavior in line with the regular
reduction ops.
Only sum and prod reductions have been enabled, as min and max are not
appropriate and mean would require changes to the code and is probably
not worth it.

This fixes #2255
parent da88903d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment