convert THROW to OPM_THROW
This commit is contained in:
1 parent
0eaf62c7e3
commit
19e5d5cea2
69 files changed
+315
-315
No files matched your search
@@ -88,7 +88,7 @@ namespace Opm
|
||||
for (int i = 0; i < num_ind; ++i) {
|
||||
int index = indices_[i];
|
||||
if (index <= last_index || index >= sz) {
|
||||
THROW("Error in SparseVector construction, index is nonincreasing or out of range.");
|
||||
OPM_THROW(std::runtime_error, "Error in SparseVector construction, index is nonincreasing or out of range.");
|
||||
}
|
||||
last_index = index;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user