Skip to content

Commit 4ac99bf

Browse files
author
meihuisu
committed
1 more config check
1 parent c16cdbc commit 4ac99bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ucvm/ucvm_model_bbp1d.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ int ucvm_bbp1d_model_init(int m, ucvm_modelconf_t *conf)
161161
return(UCVM_CODE_ERROR);
162162
}
163163

164-
if ((config == NULL) || (conf->config[0] == '\0')) {
164+
if ((conf == NULL) || (conf->config[0] == '\0')) {
165165
fprintf(stderr, "No config path defined for model %s\n", conf->label);
166166
return(UCVM_CODE_ERROR);
167167
}

0 commit comments

Comments
 (0)