Skip to content

Commit 74b2124

Browse files
committed
chore: remove redundent check for 'maxsmc'
1 parent 0421789 commit 74b2124

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bmi_cfe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2004,7 +2004,7 @@ static int Set_value_at_indices (Bmi *self, const char *name, int * inds, int le
20042004
return BMI_FAILURE;
20052005
memcpy(ptr, src, var_item_size * len);
20062006

2007-
if (strcmp (name, "maxsmc") == 0 || strcmp (name, "alpha_fc") == 0 || strcmp (name, "wltsmc") == 0 || strcmp (name, "maxsmc") == 0 || strcmp (name, "b") == 0 || strcmp (name, "slope") == 0 || strcmp (name, "satpsi") == 0 || strcmp (name, "Klf") == 0 || strcmp (name, "satdk") == 0){
2007+
if (strcmp (name, "maxsmc") == 0 || strcmp (name, "alpha_fc") == 0 || strcmp (name, "wltsmc") == 0 || strcmp (name, "b") == 0 || strcmp (name, "slope") == 0 || strcmp (name, "satpsi") == 0 || strcmp (name, "Klf") == 0 || strcmp (name, "satdk") == 0){
20082008

20092009
cfe_state_struct* cfe_ptr = (cfe_state_struct *) self->data;
20102010
init_soil_reservoir(cfe_ptr);

0 commit comments

Comments
 (0)