From 6f8246c4dcfac88842b18a5f291e27fe6e783c6f Mon Sep 17 00:00:00 2001 From: wendycwong Date: Fri, 25 Oct 2024 14:08:48 -0700 Subject: [PATCH] Fix leak key error. --- h2o-algos/src/test/java/hex/hglm/HGLMBasicTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/h2o-algos/src/test/java/hex/hglm/HGLMBasicTest.java b/h2o-algos/src/test/java/hex/hglm/HGLMBasicTest.java index cd679024b89d..68dc67a929b1 100644 --- a/h2o-algos/src/test/java/hex/hglm/HGLMBasicTest.java +++ b/h2o-algos/src/test/java/hex/hglm/HGLMBasicTest.java @@ -593,6 +593,7 @@ public void testSetInitBetasTvar() { .withDataForCol(7, new double[]{0.5670, 0.6166, 0.3230, 0.5969, 0.4802, 0.8325, 0.6967, 10.3962}) .build(); Scope.track(tMat); + Scope.track(prostate); double sigmaEpsilon = 0.09847638; HGLMModel.HGLMParameters params = new HGLMModel.HGLMParameters(); params._train = prostate._key;