addressing review comments from PR 1622

This commit is contained in:
Kai Bao
2018-11-14 12:32:11 +01:00
parent afcdbcf202
commit 5a5c1bfcd3
3 changed files with 1 additions and 10 deletions

View File

@@ -550,7 +550,7 @@ template <typename T>
const T* getTable(const std::map<int, T*> tables, int table_id) {
auto entry = tables.find(table_id);
if (entry == tables.end()) {
OPM_THROW(std::invalid_argument, "Nonexistent table " << table_id << " referenced.");
OPM_THROW(std::invalid_argument, "Nonexistent VFP table " << table_id << " referenced.");
}
else {
return entry->second;