mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-25 08:41:00 -06:00
correct grammar
This commit is contained in:
parent
fe09d147b0
commit
f1897a30ac
@ -386,10 +386,10 @@ private:
|
||||
{
|
||||
#if OPM_IS_INSIDE_DEVICE_FUNCTION_TEMPORARY
|
||||
// TODO: find a better way to handle exceptions in kernels, this will possibly be printed many times
|
||||
assert(m_numberOfElements > 0 && "View have 0 elements");
|
||||
assert(m_numberOfElements > 0 && "View has 0 elements");
|
||||
#else
|
||||
if (m_numberOfElements <= 0) {
|
||||
OPM_THROW(std::invalid_argument, "View have 0 elements");
|
||||
OPM_THROW(std::invalid_argument, "View has 0 elements");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user