Skip to content

Commit

Permalink
REN getRemainings>getResults
Browse files Browse the repository at this point in the history
  • Loading branch information
deepnight committed Feb 13, 2025
1 parent b3dbe1a commit 5c78e48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/dn/DecisionHelper.hx
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,12 @@ class DecisionHelper<T> {
}
}

/** Return the values with their score, without the discarded ones **/
@:deprecated("Use getResults()") @:noCompletion
public function getRemainings() : Array< DecisionHelperResult<T> > {
return getResults();
}
/** Return the values with their score, without the discarded ones **/
public function getResults() : Array< DecisionHelperResult<T> > {
var out = [];
var idx = 0;
for(v in values) {
Expand Down

0 comments on commit 5c78e48

Please sign in to comment.