Skip to content

Commit

Permalink
Update cdm/core/src/main/java/ucar/nc2/util/Misc.java
Browse files Browse the repository at this point in the history
Co-authored-by: Tara Drwenski <[email protected]>
  • Loading branch information
haileyajohnson and tdrwenski committed Mar 12, 2024
1 parent 748fc83 commit 986debb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdm/core/src/main/java/ucar/nc2/util/Misc.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static boolean nearlyEquals(float a, float b) {
return nearlyEquals(a, b, defaultMaxRelativeDiffFloat);
}

/** AbsoluteDifference is less than maxAbsDiff. */
/** RelativeDifference is less than maxRelDiff. */
public static boolean nearlyEquals(float a, float b, float maxRelDiff) {
return relativeDifference(a, b) < maxRelDiff;
}
Expand Down

0 comments on commit 986debb

Please sign in to comment.