Skip to content

Commit

Permalink
Removed space in the string of density name.
Browse files Browse the repository at this point in the history
  • Loading branch information
wenqing committed May 6, 2016
1 parent 8274798 commit 639147e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FEM/Output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <string>

#include <cfloat> // DBL_EPSILON
#include <algorithm> // remove-if

#include "BuildInfo.h"
#include "FEMIO/GeoIO.h"
Expand Down Expand Up @@ -477,6 +478,7 @@ ios::pos_type COutput::Read(std::ifstream& in_str, const GEOLIB::GEOObjects& geo
}
if (Keyword(line_string))
return position;
std::remove_if(line_string.begin(), line_string.end(), isspace);
mfp_value_vector.push_back(line_string);
}

Expand Down

0 comments on commit 639147e

Please sign in to comment.