From cb01a27f6196417c4e1e350c30962870f367de4b Mon Sep 17 00:00:00 2001 From: abn Date: Mon, 27 Feb 2017 15:32:40 +0100 Subject: [PATCH] Minor: fixing compile when LOG switched on. --- src/INTERP_KERNELTest/PerfTest.cxx | 6 +++--- src/MEDCoupling/Test/MEDCouplingBasicsTest0.cxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/INTERP_KERNELTest/PerfTest.cxx b/src/INTERP_KERNELTest/PerfTest.cxx index f6ba472b2..c7cdab566 100644 --- a/src/INTERP_KERNELTest/PerfTest.cxx +++ b/src/INTERP_KERNELTest/PerfTest.cxx @@ -73,7 +73,7 @@ namespace INTERP_TEST LOG(5, "Loading " << mesh2 << " from " << mesh2path); MCAuto tMeshML=MEDFileUMesh::New(INTERP_TEST::getResourceFile(mesh2path).c_str(),mesh2); - MCAuto tMesh=tMeshML->getMeshAtLevel(0); + MCAuto tMesh=tMeshML->getMeshAtLevel(0); MEDCouplingNormalizedUnstructuredMesh<3,3> sMesh_wrapper(sMesh); MEDCouplingNormalizedUnstructuredMesh<3,3> tMesh_wrapper(tMesh); @@ -82,8 +82,8 @@ namespace INTERP_TEST interpolator.interpolateMeshes(sMesh_wrapper, tMesh_wrapper,m,"P0P0"); std::pair eff = countNumberOfMatrixEntries(m); - LOG(1, eff.first << " of " << numTargetElems * numSrcElems << " intersections calculated : ratio = " - << double(eff.first) / double(numTargetElems * numSrcElems)); +// LOG(1, eff.first << " of " << numTargetElems * numSrcElems << " intersections calculated : ratio = " +// << double(eff.first) / double(numTargetElems * numSrcElems)); LOG(1, eff.second << " non-zero elements of " << eff.first << " total : filter efficiency = " << double(eff.second) / double(eff.first)); diff --git a/src/MEDCoupling/Test/MEDCouplingBasicsTest0.cxx b/src/MEDCoupling/Test/MEDCouplingBasicsTest0.cxx index a6c6a579e..f5958a9fe 100644 --- a/src/MEDCoupling/Test/MEDCouplingBasicsTest0.cxx +++ b/src/MEDCoupling/Test/MEDCouplingBasicsTest0.cxx @@ -1654,7 +1654,7 @@ void MEDCouplingBasicsTest::test2D1DMeshesIntersection(MEDCouplingUMesh *sourceM std::cout.precision(16); const double length = sumAll(matrix); - LOG(1, "length = " << surf <<" correctLength = " << correctLength ); + LOG(1, "length = " << length <<" correctLength = " << correctLength ); CPPUNIT_ASSERT_DOUBLES_EQUAL(correctLength, length, prec * std::max(correctLength, length)); INTERP_KERNEL::Interpolation2D3D::DuplicateFacesType duplicateFaces = myInterpolator.retrieveDuplicateFaces(); -- 2.39.2