Skip to content

Commit

Permalink
Cleaning minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Myoldmopar committed Jan 6, 2017
1 parent 291b9be commit d70a732
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/EnergyPlus/OutputReportTabular.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1933,13 +1933,13 @@ namespace OutputReportTabular {
displayEconomicResultSummary = true;
WriteTabularFiles = true;
nameFound = true;
} else if ( SameString( AlphArray( iReport ), "EnergyMeters") ) {
} else if ( SameString( AlphArray( iReport ), "EnergyMeters" ) ) {
WriteTabularFiles = true;
nameFound = true;
} else if ( SameString( AlphArray( iReport ), "EIO") ) {
} else if ( SameString( AlphArray( iReport ), "EIO" ) ) {
displayEioSummary = true;
nameFound = true;
} else if ( SameString( AlphArray( iReport ), "InitializationSummary") ) {
} else if ( SameString( AlphArray( iReport ), "InitializationSummary" ) ) {
displayEioSummary = true;
nameFound = true;
} else if ( SameString( AlphArray( iReport ), "AllSummary" ) ) {
Expand Down Expand Up @@ -10802,7 +10802,7 @@ namespace OutputReportTabular {
Array2D_string tableBody; //in the format: (row, column)
Array1D_int colUnitConv;

// setting up report header
// setting up report header
WriteReportHeaders( "Initialization Summary", "Entire Facility", isAverage );

// since the EIO initilization file is open at this point must close it to read it and then reopen afterward.
Expand Down Expand Up @@ -14333,12 +14333,12 @@ Label900: ;
return StringOut;
}

bool
isNumber(std::string const & s)
bool
isNumber( std::string const & s )
{
char* p;
strtod(s.c_str(), &p);
for (; isspace(*p); ++p); // handle trailing whitespace
strtod( s.c_str(), &p );
for (; isspace( *p ); ++p); // handle trailing whitespace
return *p == 0;
}

Expand All @@ -14355,7 +14355,7 @@ Label900: ;
std::size_t epos = s.find( 'E' );
if ( epos == s.npos ) epos = s.find( 'e' );
if ( epos == s.npos ) {
numDigits = s.length( ) - ( decimalpos + 1 );
numDigits = s.length() - ( decimalpos + 1 );
} else {
numDigits = epos - ( decimalpos + 1 );
}
Expand Down

0 comments on commit d70a732

Please sign in to comment.