convert THROW to OPM_THROW

This commit is contained in:
Andreas Lauser committed 2013-09-05 13:04:37 +02:00
1 parent 0eaf62c7e3
commit 19e5d5cea2
69 files changed
+315 -315

No files matched your search

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