Fixed the bug in SetUp.
diff --git a/storage/tests/SplitRowStoreRegression.cpp b/storage/tests/SplitRowStoreRegression.cpp
index a21f9a8..2fbe9c3 100644
--- a/storage/tests/SplitRowStoreRegression.cpp
+++ b/storage/tests/SplitRowStoreRegression.cpp
@@ -21,7 +21,7 @@
     relation_.reset(new CatalogRelation(nullptr, "RegressionRelation"));
 
     std::size_t num_of_attributes = GetParam();
-    for (std::size_t i = 0; num_of_attributes; ++i) {
+    for (std::size_t i = 0; i < num_of_attributes; ++i) {
       std::string name_of_attribute = "double_attr" + std::to_string(i);
       CatalogAttribute *double_attr = new CatalogAttribute(relation_.get(),
                                                            name_of_attribute,