diff --git a/src/mlpack/bindings/go/print_input_processing.hpp b/src/mlpack/bindings/go/print_input_processing.hpp index f4f0e12dee..27a91630ab 100644 --- a/src/mlpack/bindings/go/print_input_processing.hpp +++ b/src/mlpack/bindings/go/print_input_processing.hpp @@ -110,12 +110,9 @@ void PrintInputProcessing( } else { - std::string lowercaseParamName = d.name; - lowercaseParamName[0] = std::tolower(lowercaseParamName[0]); - // Print function call to set the given parameter into the cli. std::cout << prefix << "setParam" << GetType(d) << "(\"" - << lowercaseParamName << "\", " << goParamName << ")" + << d.name << "\", " << goParamName << ")" << std::endl; // Print function call to set the given parameter as passed. @@ -172,12 +169,9 @@ void PrintInputProcessing( } else { - std::string lowercaseParamName = d.name; - lowercaseParamName[0] = std::tolower(lowercaseParamName[0]); - // Print function call to set the given parameter into the cli. std::cout << prefix << "gonumToArma" << GetType(d) - << "(\"" << goParamName << "\", " << lowercaseParamName + << "(\"" << d.name << "\", " << goParamName << ")" << std::endl; // Print function call to set the given parameter as passed. @@ -235,12 +229,9 @@ void PrintInputProcessing( } else { - std::string lowercaseParamName = d.name; - lowercaseParamName[0] = std::tolower(lowercaseParamName[0]); - // Print function call to set the given parameter into the cli. std::cout << prefix << "gonumToArmaMatWithInfo" - << "(\"" << goParamName << "\", " << lowercaseParamName + << "(\"" << d.name << "\", " << goParamName << ")" << std::endl; // Print function call to set the given parameter as passed.