From c6bc98833db67d9dc90a0f997a11877860966337 Mon Sep 17 00:00:00 2001 From: denismr Date: Tue, 17 Dec 2019 21:00:58 -0300 Subject: [PATCH] Fixed major bug. Test (FFI) was ignoring pvalues Fixed a major bug. FFI version was completely ignoring different values of p-value when calling function Test. --- IncrementalKS/FFI/c_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IncrementalKS/FFI/c_wrapper.cpp b/IncrementalKS/FFI/c_wrapper.cpp index 89c613a..18c3c26 100755 --- a/IncrementalKS/FFI/c_wrapper.cpp +++ b/IncrementalKS/FFI/c_wrapper.cpp @@ -34,7 +34,7 @@ void IKS_DeleteIKS(IKS_WrappedPointer wp) { int IKS_Test(IKS_WrappedPointer wp, double ca) { auto * iks = reinterpret_cast*>(wp.pointer); - return iks->Test() ? 1 : 0; + return iks->Test(ca) ? 1 : 0; } double IKS_KS(IKS_WrappedPointer wp) {