mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fixed potential derefernce of end operator when applying EDITNNC.
This commit is contained in:
parent
af45c893cf
commit
1f3a9cc84a
@ -574,11 +574,11 @@ private:
|
|||||||
|
|
||||||
if ( candidate == trans_.end() )
|
if ( candidate == trans_.end() )
|
||||||
{
|
{
|
||||||
++nnc;
|
|
||||||
std::ostringstream sstr;
|
std::ostringstream sstr;
|
||||||
sstr << "Cannot edit NNC from " << nnc->cell1 << " to " << nnc->cell2
|
sstr << "Cannot edit NNC from " << c1 << " to " << c2
|
||||||
<< " as it does not exist";
|
<< " as it does not exist";
|
||||||
Opm::OpmLog::warning(sstr.str());
|
Opm::OpmLog::warning(sstr.str());
|
||||||
|
++nnc;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user