Skip to content
Snippets Groups Projects
Commit 9552b74c authored by OTB Bot's avatar OTB Bot
Browse files

*Correction VS7.1 acces a T1::T2::T3

parent d842994d
Branches
Tags
No related merge requests found
...@@ -50,13 +50,13 @@ namespace otb ...@@ -50,13 +50,13 @@ namespace otb
template <class TInputSampleList, template <class TInputSampleList,
class TTrainingSampleList> class TTrainingSampleList>
class ITK_EXPORT SVMSampleListModelEstimator: class ITK_EXPORT SVMSampleListModelEstimator:
public SVMModelEstimator<typename TInputSampleList::ValueType::ValueType, typename TTrainingSampleList::ValueType::ValueType> public SVMModelEstimator<typename TInputSampleList::MeasurementType, typename TTrainingSampleList::MeasurementType>
{ {
public: public:
/** Standard class typedefs. */ /** Standard class typedefs. */
typedef SVMSampleListModelEstimator Self; typedef SVMSampleListModelEstimator Self;
typedef SVMModelEstimator<typename TInputSampleList::ValueType::ValueType, typedef SVMModelEstimator<typename TInputSampleList::MeasurementType,
typename TTrainingSampleList::ValueType::ValueType> typename TTrainingSampleList::MeasurementType>
Superclass; Superclass;
typedef itk::SmartPointer<Self> Pointer; typedef itk::SmartPointer<Self> Pointer;
......
...@@ -28,8 +28,8 @@ namespace otb ...@@ -28,8 +28,8 @@ namespace otb
template<class TInputSampleList, template<class TInputSampleList,
class TTrainingSampleList> class TTrainingSampleList>
SVMSampleListModelEstimator<TInputSampleList, TTrainingSampleList> SVMSampleListModelEstimator<TInputSampleList, TTrainingSampleList>
::SVMSampleListModelEstimator(void): SVMModelEstimator<ITK_TYPENAME TInputSampleList::ValueType::ValueType, ::SVMSampleListModelEstimator(void): SVMModelEstimator<ITK_TYPENAME TInputSampleList::MeasurementType,
ITK_TYPENAME TTrainingSampleList::ValueType::ValueType>() ITK_TYPENAME TTrainingSampleList::MeasurementType>()
{ {
...@@ -118,7 +118,7 @@ SVMSampleListModelEstimator<TInputSampleList, TTrainingSampleList> ...@@ -118,7 +118,7 @@ SVMSampleListModelEstimator<TInputSampleList, TTrainingSampleList>
// If label != 0 // If label != 0
typename TTrainingSampleList::ValueType::ValueType label = typename TTrainingSampleList::MeasurementType label =
trIt.GetMeasurementVector()[0]; trIt.GetMeasurementVector()[0];
this->m_Labels.push_back(label); this->m_Labels.push_back(label);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment