File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -894,12 +894,12 @@ void UnityAssertEqualIntArray(UNITY_INTERNAL_PTR expected,
894894/*-----------------------------------------------*/
895895#ifndef UNITY_EXCLUDE_FLOAT
896896/* Wrap this define in a function with variable types as float or double */
897- #define UNITY_FLOAT_OR_DOUBLE_WITHIN (delta , expected , actual , diff ) \
897+ #define UNITY_FLOAT_OR_DOUBLE_WITHIN (delta , expected , actual , diff ) \
898898 if (isinf(expected) && isinf(actual) && (((expected) < 0) == ((actual) < 0))) return 1; \
899899 if (UNITY_NAN_CHECK) return 1; \
900900 (diff) = (actual) - (expected); \
901901 if ((diff) < 0) (diff) = -(diff); \
902- if ((delta) < 0) (delta) = -(delta); \
902+ if ((delta) < 0) (delta) = -(delta); \
903903 return !(isnan(diff) || isinf(diff) || ((diff) > (delta)))
904904 /* This first part of this condition will catch any NaN or Infinite values */
905905#ifndef UNITY_NAN_NOT_EQUAL_NAN
You can’t perform that action at this time.
0 commit comments