diff --git a/src/basic/vx_config/config.tab.cc b/src/basic/vx_config/config.tab.cc index 5b67009f59..43fe74766f 100644 --- a/src/basic/vx_config/config.tab.cc +++ b/src/basic/vx_config/config.tab.cc @@ -1389,7 +1389,7 @@ yyparse (void) YYDPRINTF ((stderr, "Starting parse\n")); - yystate = 8; + yystate = 0; yyerrstatus = 0; yynerrs = 0; yychar = YYEMPTY; /* Cause a token to be read. */ diff --git a/src/tools/other/grid_diag/grid_diag.cc b/src/tools/other/grid_diag/grid_diag.cc index 4a1d1da15e..1ffa59d028 100644 --- a/src/tools/other/grid_diag/grid_diag.cc +++ b/src/tools/other/grid_diag/grid_diag.cc @@ -265,7 +265,7 @@ void process_series(void) { // Process the 1d histograms for(int i_var=0; i_varn_bins(); for(int j_var=i_var+1; j_varn_bins(); @@ -532,7 +532,7 @@ void setup_nc_file(void) { for(int i_var=0; i_var < conf_info.get_n_data(); i_var++) { - i_var_str << cs_erase << "VAR" << i_var; + i_var_str << cs_erase << "VAR" << i_var+1; VarInfo *data_info = conf_info.data_info[i_var]; @@ -587,7 +587,7 @@ void setup_nc_file(void) { // Define histograms for(int i_var=0; i_var < conf_info.get_n_data(); i_var++) { - i_var_str << cs_erase << "VAR" << i_var; + i_var_str << cs_erase << "VAR" << i_var+1; VarInfo *data_info = conf_info.data_info[i_var]; @@ -616,13 +616,13 @@ void setup_nc_file(void) { // Define joint histograms for(int i_var=0; i_var < conf_info.get_n_data(); i_var++) { - i_var_str << cs_erase << "VAR" << i_var; + i_var_str << cs_erase << "VAR" << i_var+1; VarInfo *data_info = conf_info.data_info[i_var]; for(int j_var=i_var+1; j_var