Skip to content

Commit 974b60a

Browse files
authored
chore(formatting): apply code formatting for searches binary search on real values ii
1 parent f7d2ecc commit 974b60a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

searches/searches_binary_search_on_real_values_II.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ double low = 0.0, high = inf, mid;
33
int iter = 0;
44
while (iter < 300) {
55
mid = double(high + low) / 2.0;
6-
if (!ok(mid)) {
6+
if (!works(mid)) {
77
low = mid;
88
} else {
99
high = mid;

0 commit comments

Comments
 (0)