mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 18:45:43 +00:00
b270438fea
The test_equal method compares the ratio of the two values to decide if they are close enough. Although there is a previous check to make sure that neither value is too close to zero, the MSVC sometimes gives a warning because it cannot trace the flow of the check. Add another conditional (that will never actually be executed) to check a second time that we never divide by 0. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
OptionParser.h | ||
Testing.h | ||
TestingMath.h | ||
UnitTestExtent.cxx | ||
UnitTestListTag.cxx | ||
UnitTestMath.cxx | ||
UnitTestMatrix.cxx | ||
UnitTestPair.cxx | ||
UnitTestTesting.cxx | ||
UnitTestTypeListTag.cxx | ||
UnitTestTypes.cxx | ||
UnitTestTypeTraits.cxx | ||
UnitTestVectorAnalysis.cxx | ||
UnitTestVecTraits.cxx | ||
VecTraitsTests.h |