2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

TLC for optimization docs

This commit is contained in:
Nick Thompson
2024-02-12 13:22:02 -08:00
committed by Nick
parent 380a1cf225
commit b7a62c4a29
5 changed files with 136 additions and 97 deletions

View File

@@ -59,7 +59,7 @@ int main() {
auto future = std::async(std::launch::async, f);
std::future_status status = future.wait_for(3ms);
while (!cancel && (status != std::future_status::ready)) {
status = future.wait_for(3ms);
status = future.wait_for(1ms);
std::cout << "Current cost is " << current_minimum_cost << "\r";
}