Skip to content

Commit f3341fa

Browse files
fixed analyzer warning
1 parent 0b7b857 commit f3341fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/explorer.api/Explorers/MinMaxExplorer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ private async Task RefinedEstimate(bool isMin, CancellationToken cancellationTok
5252
// Constrained min/max query to get an improved estimate
5353
var estimate = await estimator(result, cancellationToken);
5454

55-
// If there are no longer enough values in the constrained range to compute an anonymised min/max,
55+
// If there are no longer enough values in the constrained range to compute an anonymised min/max,
5656
// the query will return `null` => we can't improve further on the result.
57+
// Same thing if the results start to diverge (second part of if condition).
5758
if ((!estimate.HasValue) ||
58-
// Same thing if the results start to diverge.
5959
(isMin ? estimate >= result : estimate <= result))
6060
{
6161
break;

0 commit comments

Comments
 (0)