-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
bugSomething isn't working; don't remove label after fixingSomething isn't working; don't remove label after fixingforecast
Milestone
Description
in forecast, this code is within the season loop, so the initialize to 0.0 seems wrong. This would only affect a multi-season model, so should be investigated with such:
if((Fcast_Loop1==2 || Fcast_Loop_Control(1)==1) && ABC_Loop==1) // get variance in OFL
{
Mgmt_quant(Fcast_catch_start+N_Fcast_Yrs+y-endyr)=0.;
for (f=1;f<=Nfleet;f++)
{
if(fleet_type(f)==1)
{Mgmt_quant(Fcast_catch_start+N_Fcast_Yrs+y-endyr)+=catch_fleet(t,f,2);}
else if (fleet_type(f)==3)
{} // survey
else if(bycatch_setup(f,2)==1) // bycatch
{Mgmt_quant(Fcast_catch_start+N_Fcast_Yrs+y-endyr)+=catch_fleet(t,f,2);}
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't working; don't remove label after fixingSomething isn't working; don't remove label after fixingforecast