Commit 6b3198ce authored by Victor Poughon's avatar Victor Poughon
Browse files

BUG: apply spelling patch from Bas Couwenberg (fix #1633)

No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
...@@ -143,7 +143,7 @@ private: ...@@ -143,7 +143,7 @@ private:
"parameter can't be used for other models"); // "parameter can't be used for other models"); //
MandatoryOff("pcadim"); MandatoryOff("pcadim");
AddParameter(ParameterType_Choice, "mode", "Writting mode"); // AddParameter(ParameterType_Choice, "mode", "Writing mode"); //
SetParameterDescription("mode", "This parameter determines if the output " SetParameterDescription("mode", "This parameter determines if the output "
"file is overwritten or updated [overwrite/update]. If an output file " "file is overwritten or updated [overwrite/update]. If an output file "
"name is given, the original file is copied before creating the new features."); "name is given, the original file is copied before creating the new features.");
...@@ -325,7 +325,7 @@ private: ...@@ -325,7 +325,7 @@ private:
else else
{ {
otbAppLogFATAL(<< "Error when creating the output file" << otbAppLogFATAL(<< "Error when creating the output file" <<
GetParameterString("mode") << " : unsupported writting mode type"); GetParameterString("mode") << " : unsupported writing mode type");
} }
} }
......
...@@ -178,7 +178,7 @@ private: ...@@ -178,7 +178,7 @@ private:
itk::Array<double> m_Beta; // Sparsity regularization parameter itk::Array<double> m_Beta; // Sparsity regularization parameter
double m_InitFactor; // Weight initialization factor (the weights are intialized at m_initfactor/sqrt(inputDimension) ) 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 std::string m_LearningCurveFileName; // Name of the output learning curve printed after training
bool m_WriteWeights; bool m_WriteWeights;
}; };
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment