diff --git a/Modules/Applications/AppDimensionalityReduction/app/otbVectorDimensionalityReduction.cxx b/Modules/Applications/AppDimensionalityReduction/app/otbVectorDimensionalityReduction.cxx index 24e7ba98ffeb4268e6adea854a0c44971477b1e3..d9031f4cef9e5346d9cf79c6d57d44667d3d1a62 100644 --- a/Modules/Applications/AppDimensionalityReduction/app/otbVectorDimensionalityReduction.cxx +++ b/Modules/Applications/AppDimensionalityReduction/app/otbVectorDimensionalityReduction.cxx @@ -143,7 +143,7 @@ private: "parameter can't be used for other models"); // MandatoryOff("pcadim"); - AddParameter(ParameterType_Choice, "mode", "Writting mode"); // + AddParameter(ParameterType_Choice, "mode", "Writing mode"); // SetParameterDescription("mode", "This parameter determines if the output " "file is overwritten or updated [overwrite/update]. If an output file " "name is given, the original file is copied before creating the new features."); @@ -325,7 +325,7 @@ private: else { otbAppLogFATAL(<< "Error when creating the output file" << - GetParameterString("mode") << " : unsupported writting mode type"); + GetParameterString("mode") << " : unsupported writing mode type"); } } diff --git a/Modules/Learning/DimensionalityReductionLearning/include/otbAutoencoderModel.h b/Modules/Learning/DimensionalityReductionLearning/include/otbAutoencoderModel.h index 7bf3231a9b8d372473fd5ed0f598d3f2fd7c7c06..9d92267dd91c60531571d52851921846e0fd0ec8 100644 --- a/Modules/Learning/DimensionalityReductionLearning/include/otbAutoencoderModel.h +++ b/Modules/Learning/DimensionalityReductionLearning/include/otbAutoencoderModel.h @@ -178,7 +178,7 @@ private: itk::Array<double> m_Beta; // Sparsity regularization parameter double m_InitFactor; // Weight initialization factor (the weights are intialized at m_initfactor/sqrt(inputDimension) ) - bool m_WriteLearningCurve; // Flag for writting the learning curve into a txt file + bool m_WriteLearningCurve; // Flag for writing the learning curve into a txt file std::string m_LearningCurveFileName; // Name of the output learning curve printed after training bool m_WriteWeights; };