Skip to content
Snippets Groups Projects
Commit 43bf45dd authored by Erik Dahl's avatar Erik Dahl
Browse files

Fix bug causing last sample to be dropped from the output ZGY file

parent cd70689c
No related branches found
No related tags found
No related merge requests found
Pipeline #171432 failed
......@@ -192,7 +192,7 @@ BrickedConversion::run()
if (brick_trace_offset >= params_.getCrosslineCount()) {
break;
}
for (size_t sample_offset = 0; sample_offset < params_.getVerticalCount(); sample_offset += brick_size_vertical_) {
for (size_t sample_offset = 0; sample_offset <= params_.getVerticalCount(); sample_offset += brick_size_vertical_) {
convertSingleBrick(current_segy_bulk_reader, line_offset, brick_trace_offset, sample_offset);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment