From 780987991db550625b7bc017a04ce5cc65b7959c Mon Sep 17 00:00:00 2001 From: Mattrixwv Date: Thu, 9 Jul 2020 01:45:02 -0400 Subject: [PATCH] Updated a few typos --- benchmark.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmark.hpp b/benchmark.hpp index bca1366..31881ff 100644 --- a/benchmark.hpp +++ b/benchmark.hpp @@ -43,7 +43,7 @@ void printBenchmarkMenu(){ std::cout << "1. Run a specific problem\n" << "2. Run all problems that have a reasonably short run time\n" << "3. Run all problems\n" - << "4. Exit the program" << std::endl; + << "4. Exit the menu" << std::endl; } int getBenchmarkMenuSelection(){ @@ -93,7 +93,7 @@ void runSpecific(){ std::string timeResults = mee::Stopwatch::getStr(totalTime); //Print the results std::cout << "\n\n" << problem->getString(); - std::cout << "\nIt took an average of " << timeResults << " to run this problem over " << timesToRun << " iterations\n\n" << std::endl; + std::cout << "\nIt took an average of " << timeResults << " to run this problem through " << timesToRun << " iterations\n\n" << std::endl; } void runAllShort(){ //Ask how many times to run the problem @@ -102,7 +102,7 @@ void runAllShort(){ for(unsigned int cnt = 1;cnt < PROBLEM_NUMBERS.size();++cnt){ unsigned int problemNumber = PROBLEM_NUMBERS[cnt]; double totalTime = 0; - //If the problem number is contained the list of problems that take too long skip it + //If the problem number is contained in the list of problems that take too long skip it if(mee::isFound(tooLong, problemNumber)){ continue; }