Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EXODUS: Fix error handling code
Browse files Browse the repository at this point in the history
gdsjaar committed Jun 20, 2024
1 parent b777c5f commit e697279
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/seacas/libraries/exodus/src/ex_conv.c
Original file line number Diff line number Diff line change
@@ -486,10 +486,12 @@ int ex_set_option(int exoid, ex_option_type option, int option_value)
}
file->quantize_nsd = option_value;
#else
{
char errmsg[MAX_ERR_LENGTH];
snprintf(errmsg, MAX_ERR_LENGTH,
"ERROR: Quanitzation is not supported in this version of netCDF library.");
ex_err_fn(exoid, __func__, errmsg, EX_BADPARAM);
}
#endif
break;
case EX_OPT_COMPRESSION_SHUFFLE: /* 0 (disabled); 1 (enabled) */

0 comments on commit e697279

Please sign in to comment.