Salome HOME
Improve swig generation process on Windows platform.
[tools/medcoupling.git] / src / INTERP_KERNEL / DirectedBoundingBox.cxx
index 2bd5e88a1fccbe9d35b795c49c7cb706b2f575c9..757fd3707b532048182e400b58241a6c4cdd868b 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2009-2013  OPEN CASCADE
+// Copyright (C) 2009-2016  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -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;