Skip to content

Commit

Permalink
[all] inverted version comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
servantftechnicolor committed Aug 13, 2021
1 parent 48c5947 commit ab06acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aliceVision/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ class Version
{
for (Vec3::Index i = 0; i < 3; i++)
{
if (other._v[i] < _v[i])
if (_v[i] < other._v[i])
{
return true;
}

if (other._v[i] > _v[i])
if (_v[i] > other._v[i])
{
return false;
}
Expand Down

0 comments on commit ab06acf

Please sign in to comment.