[XLA] Fix literal_comparison's handling of nan vs inf.
Previously, we'd always report expected nan vs. actual inf as a miscompare, even if relaxed_nan was set. This is just a bug; the intent of relaxed_nan is to allow any actual value if the expected is nan. PiperOrigin-RevId: 230763808
Loading
Please sign in to comment