mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05:00
Fault Reactivation Model Export: fix problems after run.
This commit is contained in:
1 parent
50cf568a82
commit
e8cbbf5d55
2 files changed
+13
-14
No files matched your search
@@ -158,7 +158,7 @@ bool RifInpExportTools::printElements( std::ostream& stream, const std::vector<u
|
||||
// Break lines periodically
|
||||
bool isFirst = i == 0;
|
||||
bool isLast = i == ( elements.size() - 1 );
|
||||
if ( !isFirst && !isLast && i % numItemsPerLine == 0 )
|
||||
if ( !isFirst && !isLast && ( i + 1 ) % numItemsPerLine == 0 )
|
||||
{
|
||||
stream << std::endl;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user