mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Trim spaces and avoid spaces in generated address text
* Trim spaces and avoid spaces in generated address text * Fix unit test
This commit is contained in:
@@ -923,8 +923,9 @@ std::string RifEclipseSummaryAddress::baseVectorName( const std::string& vectorN
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::string RifEclipseSummaryAddress::blockAsString() const
|
||||
{
|
||||
return std::to_string( this->cellI() ) + ", " + std::to_string( this->cellJ() ) + ", " +
|
||||
std::to_string( this->cellK() );
|
||||
// Avoid space in address text https://github.com/OPM/ResInsight/issues/9707
|
||||
|
||||
return std::to_string( this->cellI() ) + "," + std::to_string( this->cellJ() ) + "," + std::to_string( this->cellK() );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user