Skip to content

Commit

Permalink
exports via gather when seq implementationnot avail
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Park authored and Mike Park committed Apr 27, 2021
1 parent b49fd80 commit b6b339d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ref_export.c
Original file line number Diff line number Diff line change
Expand Up @@ -2269,9 +2269,7 @@ REF_STATUS ref_export_by_extension(REF_GRID ref_grid, const char *filename) {
} else if (strcmp(&filename[end_of_string - 4], ".msh") == 0) {
RSS(ref_export_twod_msh(ref_grid, filename), "msh export failed");
} else {
printf("%s: %d: %s %s\n", __FILE__, __LINE__,
"export file name extension unknown", filename);
RSS(REF_FAILURE, "unknown file extension");
RSS(ref_gather_by_extension(ref_grid, filename), "export via gather");
}

return REF_SUCCESS;
Expand Down

0 comments on commit b6b339d

Please sign in to comment.