remove returns after throw

This commit is contained in:
Arne Morten Kvarving committed 2025-06-26 17:37:54 +02:00
1 parent d246b98c3e
commit 0363fd4801
2 files changed
+2 -6

No files matched your search

+1 -3
View File
@@ -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;