File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2085,6 +2085,7 @@ FUNCTION void Get_Forecast()
20852085 }
20862086 case 4:
20872087 {
2088+ // note that case 0 gets converted to case 4 after it is read
20882089 Fcast_Fmult = 0.0;
20892090 for (y = Fcast_RelF_yr1; y <= Fcast_RelF_yr2; y++)
20902091 for (s = 1; s <= nseas; s++)
@@ -2124,7 +2125,6 @@ FUNCTION void Get_Forecast()
21242125 {
21252126 Fcast_Fmult = 0.0;
21262127 }
2127-
21282128 if (Fcast_Loop_Control(5) == 1)
21292129 { HCR_anchor = SSB_virgin;}
21302130 else if (Fcast_Loop_Control(5) == 2)
@@ -2151,8 +2151,8 @@ FUNCTION void Get_Forecast()
21512151 write_message (WARN, 0);
21522152 }
21532153
2154- Mgmt_quant(20) = H4010_top * HCR_anchor;
2155-
2154+ if (Do_Forecast_rd > 0) Mgmt_quant(20) = H4010_top * HCR_anchor;
2155+
21562156 if (show_MSY == 1) // write more headers
21572157 {
21582158 report5 << " Annual_Forecast_Fmult: " << Fcast_Fmult << endl;
You can’t perform that action at this time.
0 commit comments