Skip to content

Commit

Permalink
adjust predict call to updated signature
Browse files Browse the repository at this point in the history
  • Loading branch information
tschuelia committed Oct 30, 2024
1 parent 6d23222 commit d7cf807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/corax/difficulty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7cf807

Please sign in to comment.