From bb3b6776e2a2ea5c2a05ae3bb1e626d1678e5101 Mon Sep 17 00:00:00 2001 From: Yashwant Date: Sun, 8 Mar 2020 15:59:56 +0530 Subject: [PATCH] Resolve Some Azure Errors --- src/mlpack/bindings/go/print_input_processing.hpp | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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.