Skip to content

Commit

Permalink
SKINNER: Fix argument parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Aug 23, 2023
1 parent 246d80a commit 6734b1e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions packages/seacas/libraries/ioss/src/main/skinner_interface.C
Original file line number Diff line number Diff line change
Expand Up @@ -241,26 +241,27 @@ bool Skinner::Interface::parse_options(int argc, char **argv)
if (options_.retrieve("external") != nullptr) {
decomp_method = "EXTERNAL";
}
#endif

{
const char *temp = options_.retrieve("in_type");
const char *temp = options_.retrieve("compose");
if (temp != nullptr) {
inFiletype_ = temp;
compose_output = Ioss::Utils::lowercase(temp);
}
}

#endif

{
const char *temp = options_.retrieve("out_type");
const char *temp = options_.retrieve("in_type");
if (temp != nullptr) {
outFiletype_ = temp;
inFiletype_ = temp;
}
}

{
const char *temp = options_.retrieve("compose");
const char *temp = options_.retrieve("out_type");
if (temp != nullptr) {
compose_output = Ioss::Utils::lowercase(temp);
outFiletype_ = temp;
}
}

Expand Down

0 comments on commit 6734b1e

Please sign in to comment.