Skip to content

Fix field_equal considering any number equal to infinity

James Sutherland requested to merge FieldCompareInfinityFix into master

Fix a bug where an infinite value in a field passed to field_equal would cause a comparison against NaN and always evaluate to false, causing the result of the field comparison to possibly evaluate to true overall incorrectly. This meant a field of all infinities would be equal to every other possible field (unless another field had NaN).

Merge request reports