diff --git a/ThirdParty/NRLib/nrlib/well/laswell.cpp b/ThirdParty/NRLib/nrlib/well/laswell.cpp index efb283fc3d..bc70ba37f5 100644 --- a/ThirdParty/NRLib/nrlib/well/laswell.cpp +++ b/ThirdParty/NRLib/nrlib/well/laswell.cpp @@ -439,7 +439,7 @@ LasWell::GetRecord(std:: ifstream & fin, record.insert(record.end(), items.begin(), items.end()); } } - return(true); + return(!record.empty()); } void LasWell::AddLog(const std::string & name,