This assert always evaluates to true. The author presumably either meant to use != instead of ==, or && instead of ||. That is, they were checking that the version was only 2.0 or 2.1, or that it was neither 2.0 nor 2.1.
Thanks for your time,
Michael McConville,
University of Utah
This assert always evaluates to true. The author presumably either meant to use
!=
instead of==
, or&&
instead of||
. That is, they were checking that the version was only 2.0 or 2.1, or that it was neither 2.0 nor 2.1.Thanks for your time, Michael McConville, University of Utah