]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename a variable to be grammatically correct.
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 5 Dec 2021 23:09:57 +0000 (16:09 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 6 Dec 2021 03:34:03 +0000 (20:34 -0700)
include/deal.II/base/work_stream.h

index ecb6c52121806146521e2ccb66de18d5a67db761..9a6f04754c7283675c3459ff033cf236f44e371c 100644 (file)
@@ -504,7 +504,7 @@ namespace WorkStream
           [worker =
              std::function<void(const Iterator &, ScratchData &, CopyData &)>(
                worker),
-           copier_exist =
+           copier_exists =
              static_cast<bool>(std::function<void(const CopyData &)>(copier))](
             ItemType *&current_item) {
             // we need to find an unused scratch data object in the list that
@@ -590,7 +590,7 @@ namespace WorkStream
             }
 
             // if there is no copier, mark current item as usable again
-            if (copier_exist == false)
+            if (copier_exists == false)
               current_item->currently_in_use = false;
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.