mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Observed Data : Use reserve instead of wrong use of resize
This commit is contained in:
@@ -87,7 +87,7 @@ bool RifColumnBasedUserData::values(const RifEclipseSummaryAddress& resultAddres
|
||||
|
||||
if (!ci->values.empty())
|
||||
{
|
||||
values->resize(ci->values.size());
|
||||
values->reserve(ci->values.size());
|
||||
|
||||
for (const auto& v : ci->values)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user