summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMatthieu Darbois <mayeut@users.noreply.github.com>2015-09-11 14:17:30 +0200
committerMatthieu Darbois <mayeut@users.noreply.github.com>2015-09-11 14:17:30 +0200
commitbac2c9e0a37a79a35e39cbe18572ec40bcfc3f29 (patch)
tree42991818754628780962ad2d163ad1f8f63f8a7c /src/lib
parentee0f3138482fc5ef44f92e6164206bc8df34efe4 (diff)
Change test in opj_tcd_makelayer
Remove float equality test. Such a test has no meaning.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/openjp2/tcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/tcd.c b/src/lib/openjp2/tcd.c
index 32db260b..2fccff1c 100644
--- a/src/lib/openjp2/tcd.c
+++ b/src/lib/openjp2/tcd.c
@@ -268,7 +268,7 @@ void opj_tcd_makelayer( opj_tcd_t *tcd,
n = passno + 1;
continue;
}
- if (thresh - (dd / dr) <= DBL_EPSILON) /* do not rely on float equality, check with DBL_EPSILON margin */
+ if (thresh - (dd / dr) < DBL_EPSILON) /* do not rely on float equality, check with DBL_EPSILON margin */
n = passno + 1;
}