Used single quotes for single character in string::find algorithm, more efficient

This commit is contained in:
asapelkin
2019-10-27 01:55:17 +03:00
committed by wmayer
parent 7b8f473cc9
commit 875a463923
10 changed files with 11 additions and 11 deletions

View File

@@ -1023,7 +1023,7 @@ void FemMesh::readNastran(const std::string &Filename)
{
std::getline(inputfile,line1);
if (line1.size() == 0) continue;
if (!nastran_free_format && line1.find(",")!= std::string::npos)
if (!nastran_free_format && line1.find(',')!= std::string::npos)
nastran_free_format = true;
if (!nastran_free_format && line1.find("GRID*")!= std::string::npos ) //We found a Grid line
{