mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-03 12:47:42 -06:00
remove returns after throw
This commit is contained in:
1 parent
d246b98c3e
commit
0363fd4801
2 files changed
+2
-6
No files matched your search
@@ -206,13 +206,11 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
virtual int compressedIndexForInteriorLGR([[maybe_unused]] const std::string& lgr_tag,
|
||||
[[maybe_unused]] const Connection& conn) const
|
||||
{
|
||||
throw std::runtime_error("compressedIndexForInteriorLGR not implemented");
|
||||
return -1;
|
||||
};
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Extract Cartesian index triplet (i,j,k) of an active cell.
|
||||
|
||||
@@ -105,9 +105,7 @@ public:
|
||||
[[maybe_unused]] const Connection& conn) const
|
||||
{
|
||||
throw std::runtime_error("compressedIndexForInteriorLGR not implemented");
|
||||
return -1;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
int numLocalWells() const;
|
||||
int numLocalWellsEnd() const;
|
||||
|
||||
Reference in new issue
Block a user