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

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

parent 81bed5ae
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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");
        }
      }

+1 −1
Original line number Diff line number Diff line
@@ -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;
};