From fb20b08a234f154b6ff0b98852e4972395096d68 Mon Sep 17 00:00:00 2001 From: Joel Therrien Date: Tue, 16 Apr 2019 12:55:57 -0700 Subject: [PATCH] Add debugging information to RUtils --- .../ca/joeltherrien/randomforest/utils/RUtils.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/java/ca/joeltherrien/randomforest/utils/RUtils.java b/src/main/java/ca/joeltherrien/randomforest/utils/RUtils.java index 98d30dd..295881a 100644 --- a/src/main/java/ca/joeltherrien/randomforest/utils/RUtils.java +++ b/src/main/java/ca/joeltherrien/randomforest/utils/RUtils.java @@ -79,6 +79,17 @@ public final class RUtils { final int p = covariates.size(); final List> rowList = new ArrayList<>(n); + // Let's verify the size first + for(int j=0; j