From: Daniel Garcia-Sanchez Date: Fri, 10 Apr 2020 10:31:28 +0000 (+0200) Subject: Fix if statement X-Git-Tag: v9.2.0-rc1~248^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9863%2Fhead;p=dealii.git Fix if statement --- diff --git a/examples/step-69/step-69.cc b/examples/step-69/step-69.cc index 8e9e27ec7a..6c6b1300ed 100644 --- a/examples/step-69/step-69.cc +++ b/examples/step-69/step-69.cc @@ -2867,7 +2867,7 @@ namespace Step69 // At this point we can return from the output() function // and resume with the time stepping in the main loop - the thread will // run in the background. - if (!asynchronous_writeback) + if (asynchronous_writeback) { #ifdef DEAL_II_WITH_THREADS background_thread_state = std::async(std::launch::async, output_worker);