From 6251ce66db5fe782f3ebd5523ef40190f458090e Mon Sep 17 00:00:00 2001 From: lambday Date: Thu, 30 Jun 2016 14:24:47 +0100 Subject: [PATCH] added newobject to compute_distance and compute_joint_distance methods --- src/interfaces/modular/Statistics.i | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/interfaces/modular/Statistics.i b/src/interfaces/modular/Statistics.i index 2eaefe4171f..6c866e6aef8 100644 --- a/src/interfaces/modular/Statistics.i +++ b/src/interfaces/modular/Statistics.i @@ -8,7 +8,8 @@ */ /* These functions return new Objects */ -%newobject shogun::CTwoDistributionTest::compute_distance(); +%newobject shogun::CTwoDistributionTest::compute_distance(CDistance*); +%newobject shogun::CTwoDistributionTest::compute_joint_distance(CDistance*); /* Remove C Prefix */ %rename(HypothesisTest) CHypothesisTest;