Skip to content

Commit

Permalink
added comment for using item_count 1 for calibratable parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkhattak committed Aug 28, 2024
1 parent f296485 commit 8bd8924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bmi_cfe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1804,7 +1804,7 @@ static int Get_var_nbytes (Bmi *self, const char *name, int * nbytes)
if (item_count < 1) {
for (i = 0; i < PARAM_VAR_NAME_COUNT; i++) {
if (strcmp(name, param_var_names[i]) == 0) {
item_count = 1;
item_count = 1; // all of the calibratable parameters are (and will be?) scalars - AJK
break;
}
}
Expand Down

0 comments on commit 8bd8924

Please sign in to comment.