perhaps `pure_complex` should be used here. That 1e-5 test looks like it would be easy to break.