]> Creatis software - clitk.git/blobdiff - registration/clitkLBFGSBOptimizer.h
Moved from repository clitk to clitk.private/tests_dav
[clitk.git] / registration / clitkLBFGSBOptimizer.h
index cfc8007d54631528368865f2e2298bdef53fefea..8eec63a1f32046891728d3cfc7c29cad4e3666b7 100644 (file)
@@ -3,7 +3,7 @@
 
   Authors belong to: 
   - University of LYON              http://www.universite-lyon.fr/
-  - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
+  - Léon Bérard cancer center       http://www.centreleonberard.fr
   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
 
   This software is distributed WITHOUT ANY WARRANTY; without even
@@ -14,7 +14,7 @@
 
   - BSD        See included LICENSE.txt file
   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-======================================================================-====*/
+===========================================================================**/
 #ifndef __clitkLBFGSBOptimizer_h
 #define __clitkLBFGSBOptimizer_h
 #include "itkSingleValuedNonLinearVnlOptimizer.h"
@@ -179,7 +179,11 @@ private:
 
   bool                     m_OptimizerInitialized;
   InternalOptimizerType  * m_VnlOptimizer;
+#if ITK_VERSION_MAJOR > 3
+  mutable std::ostringstream    m_StopConditionDescription;
+#else
   mutable itk::OStringStream    m_StopConditionDescription;
+#endif
   BoundValueType           m_LowerBound;
   BoundValueType           m_UpperBound;
   BoundSelectionType       m_BoundSelection;