watch for real and imag parts being equal in solve
Merge pull request #2643 from smichr/gh2642

watch for real and imag parts being equal in solve