CHG: fixed compilation error about ‘operator==’ (operand types are ‘std::complex<double>’ and ‘int' (commit: 7b29db2)