| 551 | } |
| 552 | |
| 553 | bool CanIgnoreNan(const Schema& schema, const EqualOptions& opts) { |
| 554 | if (opts.nans_equal()) { |
| 555 | return true; |
| 556 | } |
| 557 | |
| 558 | for (auto& field : schema.fields()) { |
| 559 | if (ContainFloat(field->type())) { |
| 560 | return false; |
| 561 | } |
| 562 | } |
| 563 | return true; |
| 564 | } |
| 565 | |
| 566 | } // namespace |
| 567 |
no test coverage detected