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