diff --git a/Modules/Learning/LearningBase/test/otbMachineLearningModelTemplates.cxx b/Modules/Learning/LearningBase/test/otbMachineLearningModelTemplates.cxx
index 4acaf2c529b2acc604fc95901caa142fa5208f78..96d35e014394d6b0d6836a90ddcbf3a2303db4bf 100644
--- a/Modules/Learning/LearningBase/test/otbMachineLearningModelTemplates.cxx
+++ b/Modules/Learning/LearningBase/test/otbMachineLearningModelTemplates.cxx
@@ -28,7 +28,7 @@ typedef MachineLearningModelType1::TargetValueType      TargetValueType1;
 typedef MachineLearningModelType1::TargetSampleType     TargetSampleType1;
 typedef MachineLearningModelType1::TargetListSampleType TargetListSampleType1;
 
-typedef otb::MachineLearningModel<float,itk::VariableLengthVector<double>> MachineLearningModelType2;
+typedef otb::MachineLearningModel<float,itk::VariableLengthVector<double> > MachineLearningModelType2;
 typedef MachineLearningModelType2::InputValueType       InputValueType2;
 typedef MachineLearningModelType2::InputSampleType      InputSampleType2;
 typedef MachineLearningModelType2::InputListSampleType  InputListSampleType2;