diff --git a/SS_expval.tpl b/SS_expval.tpl index df6fb5eb..ef9184e7 100644 --- a/SS_expval.tpl +++ b/SS_expval.tpl @@ -704,7 +704,7 @@ FUNCTION void Get_expected_values(const int y, const int t); { case (1): // units are biomass, so accumulate body weight into the bins; Assume that bin demarcations are also in biomass { - if (SzFreq_Omit_Small(SzFreqMethod) == 1) + if (SzFreq_Omit_Small(SzFreqMethod) == 1) { while (wt_len_low(s, 1, z1 + 1) < SzFreq_bins(SzFreqMethod, 1) && z1 < z2) { @@ -776,6 +776,7 @@ FUNCTION void Get_expected_values(const int y, const int t); { if (SzFreq_scale(SzFreqMethod) <= 2) // bin demarcations are in weight units (1=kg, 2=lbs), so uses wt_len to compare to bins { + warning<<"process_szfreq"<=topbin, so incr ibin "< 1) { botbin = SzFreq_bins2(SzFreqMethod, ibin); + warning<<" incr botbin to "<= topbin) { + // this should have the fish in z size range distributed across all bins >= size(z) until get to overlap + warning<<" size > current bin, increment bin index "<