Salome HOME
Bug fix: bounding box for quadratic elements spaceDim=2/meshDim=1 (i.e. SEG3)
[tools/medcoupling.git] / src / INTERP_KERNEL / DirectedBoundingBox.cxx
index 60912ed37b2fc582937c755f796a8d4ab8c4b0b4..09d0abbe132877c71c6f10d74fff793032532ae4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2009-2012  OPEN CASCADE
+// Copyright (C) 2009-2013  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -83,14 +83,18 @@ namespace
   bool JacobiEigenvectorsSearch( const int _dim, vector<double>& tensor, vector<double>& _axes)
   {
     if ( _dim == 3 )
-      __DMP( "Tensor : {"
-           << "{ "<<__TENSOR(0,0) << ", "<<__TENSOR(0,1) << ", "<<__TENSOR(0,2) << "} "
-           << "{ "<<__TENSOR(1,0) << ", "<<__TENSOR(1,1) << ", "<<__TENSOR(1,2) << "} "
-           << "{ "<<__TENSOR(2,0) << ", "<<__TENSOR(2,1) << ", "<<__TENSOR(2,2) << "}} ");
+      {
+        __DMP( "Tensor : {"
+               << "{ "<<__TENSOR(0,0) << ", "<<__TENSOR(0,1) << ", "<<__TENSOR(0,2) << "} "
+               << "{ "<<__TENSOR(1,0) << ", "<<__TENSOR(1,1) << ", "<<__TENSOR(1,2) << "} "
+               << "{ "<<__TENSOR(2,0) << ", "<<__TENSOR(2,1) << ", "<<__TENSOR(2,2) << "}} ");
+      }
     else
-      __DMP( "Tensor : {"
-           << "{ "<<__TENSOR(0,0) << ", "<<__TENSOR(0,1) << "} "
-           << "{ "<<__TENSOR(1,0) << ", "<<__TENSOR(1,1) << "}} ");
+      {
+        __DMP( "Tensor : {"
+          << "{ "<<__TENSOR(0,0) << ", "<<__TENSOR(0,1) << "} "
+          << "{ "<<__TENSOR(1,0) << ", "<<__TENSOR(1,1) << "}} ");
+      }
 
     const int maxRot = 5*_dim*_dim; // limit on number of rotations
     const double tol = 1e-9;