mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge branch '2018.01.01-patch' into dev. #2453
This commit is contained in:
@@ -256,9 +256,10 @@ std::vector<std::vector<double>> RifStimPlanXmlReader::getAllDepthDataAtTimeSte
|
|||||||
if (xmlStream.isCDATA())
|
if (xmlStream.isCDATA())
|
||||||
{
|
{
|
||||||
QString depthDataStr = xmlStream.text().toString();
|
QString depthDataStr = xmlStream.text().toString();
|
||||||
for (int i = 0; i < depthDataStr.split(' ').size(); i++)
|
QStringList splitted = depthDataStr.split(' ');
|
||||||
|
for (int i = 0; i < splitted.size(); i++)
|
||||||
{
|
{
|
||||||
QString value = depthDataStr.split(' ')[i];
|
QString value = splitted[i];
|
||||||
if ( value != "")
|
if ( value != "")
|
||||||
{
|
{
|
||||||
propertyValuesAtDepth.push_back(value.toDouble());
|
propertyValuesAtDepth.push_back(value.toDouble());
|
||||||
|
|||||||
Reference in New Issue
Block a user