1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

more strict Matrix_less, which was inconsistent

This commit is contained in:
Lu Wang 2013-06-13 18:38:46 +08:00
parent fe96b572ef
commit 6d135d7fc0

View File

@ -129,9 +129,9 @@ protected:
// Note that we only care about the first 4 elements
for(int i = 0; i < 4; ++i)
{
if(m1.m[i] < m2.m[i] - EPS)
if(m1.m[i] < m2.m[i])
return true;
if(m1.m[i] > m2.m[i] + EPS)
if(m1.m[i] > m2.m[i])
return false;
}
return false;