From e2af169e730742a67fd2cf7c67db2468382b4c30 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Tue, 26 Dec 2017 12:20:26 -0500 Subject: [PATCH] Fix stupid oversight in changing code. --- src/mlpack/tests/recurrent_network_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mlpack/tests/recurrent_network_test.cpp b/src/mlpack/tests/recurrent_network_test.cpp index e37db108e9..9e71431302 100644 --- a/src/mlpack/tests/recurrent_network_test.cpp +++ b/src/mlpack/tests/recurrent_network_test.cpp @@ -457,7 +457,7 @@ void ReberGrammarTestNetwork(const size_t hiddenSize = 4, MomentumSGD opt(0.06, 50, 2, -50000); arma::mat inputTemp, labelsTemp; - for (size_t iteration = 0; i < (iterations + offset); iteration++) + for (size_t iteration = 0; iteration < (iterations + offset); iteration++) { for (size_t j = 0; j < trainReberGrammarCount; j++) {