diff --git a/src/gridtools/GridVessel.cpp b/src/gridtools/GridVessel.cpp
index c351c7aec6ef2310eebc98e211cf8c1bc8b2e3c0..67bfc582b8dab55f246f0b3582e7a1d4d8e31fb6 100644
--- a/src/gridtools/GridVessel.cpp
+++ b/src/gridtools/GridVessel.cpp
@@ -202,7 +202,7 @@ void GridVessel::getIndices( const std::vector<double>& point, std::vector<unsig
     if( pbc[i] ) indices[i]=indices[i]%nbin[i];
     else if( indices[i]>nbin[i] ) {
       std::string pp, num; Tools::convert( point[0], pp );
-      for(unsigned j=1;j<point.size();++j) { Tools::convert( point[j], num ); pp += ", " + num; } 
+      for(unsigned j=1; j<point.size(); ++j) { Tools::convert( point[j], num ); pp += ", " + num; }
       plumed_merror("point (" + pp + ")  is outside grid range");
     }
   }
diff --git a/src/setup/Units.cpp b/src/setup/Units.cpp
index 7790ea0599f52dd0e896733fa3ddafbd2ba1a96e..110ee19e59f35196a6b555376a4d40e682ba34af 100644
--- a/src/setup/Units.cpp
+++ b/src/setup/Units.cpp
@@ -32,7 +32,7 @@ namespace setup {
 
 //+PLUMEDOC GENERIC UNITS
 /*
-This command sets the internal units for the code.  
+This command sets the internal units for the code.
 
 A new unit can be set by either
 specifying a conversion factor from the plumed default unit or by using a string