Special case first record in COMPSEGS keyword

This commit is contained in:
Joakim Hove 2021-12-08 12:36:15 +01:00
parent 52e72a3022
commit e7a91cbe32

View File

@ -562,7 +562,12 @@ void Schedule::iterateScheduleSection(std::size_t load_start, std::size_t load_e
}
if (keyword.is<ParserKeywords::COMPSEGS>()) {
bool first_record = true;
for (auto record : keyword){
if (first_record) {
first_record = false;
continue;
}
const auto& itemI = record.getItem("I");
const auto& itemJ = record.getItem("J");
const auto& itemK = record.getItem("K");