BUG: More general boolean comparisons for complex_ops.h to fix compiler
errors.
Merge pull request #2606 from cowlicks/clang-fail

BUG: sparse: more general boolean comparisons for complex_ops.h

Fixes gh-2603