BUG: More general boolean comparisons for complex_ops.h to fix compiler
errors.