mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Linux compile fixes
This commit is contained in:
parent
adb6d965de
commit
3e06028690
@ -94,7 +94,7 @@ std::map<std::string, std::vector<std::string> > RigFemPartResultsCollection::sc
|
||||
RigFemScalarResultFrames* RigFemPartResultsCollection::findOrLoadScalarResult(int partIndex,
|
||||
const RigFemResultAddress& resVarAddr)
|
||||
{
|
||||
CVF_ASSERT(partIndex < m_femPartResults.size());
|
||||
CVF_ASSERT(partIndex < (int)(m_femPartResults.size()));
|
||||
CVF_ASSERT(m_readerInterface.notNull());
|
||||
|
||||
RigFemScalarResultFrames* frames = m_femPartResults[partIndex]->findScalarResult(resVarAddr);
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
RifOdbBulkDataGetter(const odb_FieldBulkData& bulkData) : m_bulkData(bulkData), m_data(NULL) {};
|
||||
virtual ~RifOdbBulkDataGetter() { if (m_data) delete m_data; }
|
||||
|
||||
float* RifOdbBulkDataGetter::data()
|
||||
float* data()
|
||||
{
|
||||
odb_Enum::odb_PrecisionEnum precision = m_bulkData.precision();
|
||||
if (precision == odb_Enum::SINGLE_PRECISION)
|
||||
|
Loading…
Reference in New Issue
Block a user