]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix an oversight: the ring_buffer's length only needs to be equal to the queue length...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 14 Oct 2010 16:01:17 +0000 (16:01 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 14 Oct 2010 16:01:17 +0000 (16:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@22345 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/work_stream.h

index 0a0dcfaed9ce14109bc65529eb8b9841ac56fc02..7771563b3a43f69b9a42efe0f322535f115da9c2 100644 (file)
@@ -521,7 +521,7 @@ namespace WorkStream
                                     // pipeline
     internal::IteratorRangeToItemStream<Iterator,ScratchData,CopyData>
       iterator_range_to_item_stream (begin, end,
-                                    queue_length * chunk_size,
+                                    queue_length,
                                     chunk_size,
                                     sample_scratch_data,
                                     sample_copy_data);

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.