Skip to content

Commit ec52aa8

Browse files
committed
Apply verbosity controls to another printf call.
Applying verbosity controls via TOPMODEL_DEBUG macro to a statment in topmodel.c hat brings the "subcat" as read from the config file.
1 parent cb44b7e commit ec52aa8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/topmodel.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,9 @@ int ir;
945945
/* read in run parameters */
946946
TOPMODEL_CHECK_FGETS(fgets(subcat,256,in_param_fptr));
947947

948+
#if TOPMODEL_DEBUG >= 1
948949
printf("subcat: %s\n", subcat);
950+
#endif
949951

950952
TOPMODEL_CHECK_FSCANF(12, fscanf(in_param_fptr,"%lf %lf %lf %lf %lf %lf %lf %lf %d %lf %lf %lf",
951953
szm,t0,td,chv,rv,srmax,Q0,sr0,infex,xk0,hf,dth));

0 commit comments

Comments
 (0)