Skip to content

Commit 10c3fd1

Browse files
Fix typo in docs (growthbook#237)
1 parent 21c8657 commit 10c3fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/pages/lib/build-your-own.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ This converts and experiment's coverage and variation weights into an array of b
270270
for (w in weights) {
271271
start = cumulative;
272272
cumulative += w;
273-
ranges.push(start, start + cumulative * w);
273+
ranges.push(start, start + coverage * w);
274274
}
275275

276276
return ranges;

0 commit comments

Comments
 (0)