Skip to content

Commit

Permalink
mirror the N_warn change to avoid conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick-Methot-NOAA committed Sep 21, 2021
1 parent 0c5b6ab commit 35f1bea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SS_expval.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,10 @@ FUNCTION void Get_expected_values(const int y,const int t);
exp_disc(f,j)=catch_fleet(t,f,4)-catch_fleet(t,f,6); // discard in numbers
if(disc_units(f)==2) exp_disc(f,j) /= (catch_fleet(t,f,4) + 0.0000001);
}
if(exp_disc(f,j)<0.0) warning<<N_warn<<" "<<f<<" "<<j<<" "<<exp_disc(f,j)<<" catches "<<catch_fleet(t,f)<<endl;
if(exp_disc(f,j)<0.0) {
N_warn++;
warning<<N_warn<<" "<<f<<" "<<j<<" "<<exp_disc(f,j)<<" catches "<<catch_fleet(t,f)<<endl;
}
}
else
{
Expand Down

0 comments on commit 35f1bea

Please sign in to comment.