From 1736575ee8a8d6d28c8692aa9ad0c9b79780d801 Mon Sep 17 00:00:00 2001 From: Joscha Date: Thu, 3 Nov 2016 23:04:46 +0000 Subject: [PATCH] Correct minor formatting mistakes --- src/Markov.cpp | 2 +- src/MarkovMatrix.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Markov.cpp b/src/Markov.cpp index 89871f5..cffca77 100644 --- a/src/Markov.cpp +++ b/src/Markov.cpp @@ -34,7 +34,7 @@ std::string Markov::regurgitate(int lines, std::string start) { // Not sure if it should return or just correct invalid input. // For now, just correct it. - if (lines<1) lines = 1; + if (lines < 1) lines = 1; std::string answer = ""; for (int i=0; imatrix.clear(); - if (length>0) { + if (length > 0) { this->length = length; } }