From d7cf807795ec0d1d2e745e3faee0062e0dc4870e Mon Sep 17 00:00:00 2001 From: Julia Date: Wed, 30 Oct 2024 11:48:22 +0100 Subject: [PATCH] adjust predict call to updated signature --- src/corax/difficulty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corax/difficulty.c b/src/corax/difficulty.c index 78970b5..342e3e4 100644 --- a/src/corax/difficulty.c +++ b/src/corax/difficulty.c @@ -89,8 +89,8 @@ corax_msa_predict_difficulty(const corax_msa_features *msa_features, } int prediction_margin = 0; - - double prediction = predict(feat, prediction_margin); + double prediction; + predict(feat, prediction_margin, &prediction); free(feat); // LightGBM may produce results lower than 0.0 or higher than 1.0