Patch: 'the the' is Seldom Correct

Jeffrey Oldham oldham at codesourcery.com
Wed Oct 10 00:21:56 UTC 2001


2001-10-09  Jeffrey D. Oldham  <oldham at codesourcery.com>

        "The the" is seldom correct.

        * IO/FileSetReader.cpp: Fix a typo in the comment.
        * Partition/UniformGridPartition.h: Fix a typo in a string.

Not tested
Applied to      mainline
Approved by     Mark Mitchell

Thanks,
Jeffrey D. Oldham
oldham at codesourcery.com
-------------- next part --------------
Index: IO/FileSetReader.cpp
===================================================================
RCS file: /home/pooma/Repository/r2/src/IO/FileSetReader.cpp,v
retrieving revision 1.4
diff -c -p -r1.4 FileSetReader.cpp
*** IO/FileSetReader.cpp	2001/10/03 03:22:08	1.4
--- IO/FileSetReader.cpp	2001/10/10 00:00:40
*************** readOffsetData(OffsetData<T> &odata, Int
*** 122,128 ****
  // template function to encapsulate the actual reading of data into
  // the local engine. This code is only run on the IO context (and only
  // for nodes that belong to the IO context), and it reads directly
! // into the the compressible brick engine.
  //
  // By encapsulating into a separate template function, we avoid code
  // bloat by having a different version for all the various engine tags
--- 122,128 ----
  // template function to encapsulate the actual reading of data into
  // the local engine. This code is only run on the IO context (and only
  // for nodes that belong to the IO context), and it reads directly
! // into the compressible brick engine.
  //
  // By encapsulating into a separate template function, we avoid code
  // bloat by having a different version for all the various engine tags
Index: Partition/UniformGridPartition.h
===================================================================
RCS file: /home/pooma/Repository/r2/src/Partition/UniformGridPartition.h,v
retrieving revision 1.25
diff -c -p -r1.25 UniformGridPartition.h
*** Partition/UniformGridPartition.h	2001/06/05 18:42:12	1.25
--- Partition/UniformGridPartition.h	2001/10/10 00:00:40
*************** int partition(const D &domain, 
*** 330,336 ****
  	    internalGuards_m.lower(i) : internalGuards_m.upper(i);
  
  	  PInsist((domain[i].length() % blocks()[i].first()) == 0,
! 		  "All the the blocks in a grid must be the same size.");
  
  	  origin[i]  = domain[i].first();
  	  sizes[i]   = domain[i].length() / blocks()[i].first();
--- 330,336 ----
  	    internalGuards_m.lower(i) : internalGuards_m.upper(i);
  
  	  PInsist((domain[i].length() % blocks()[i].first()) == 0,
! 		  "All the blocks in a grid must be the same size.");
  
  	  origin[i]  = domain[i].first();
  	  sizes[i]   = domain[i].length() / blocks()[i].first();


More information about the pooma-dev mailing list