From 0af0782313758db86d2790a342fc7fbcc92a26c5 Mon Sep 17 00:00:00 2001 From: Richard Methot Date: Mon, 18 Aug 2025 13:50:49 -0700 Subject: [PATCH] use use_morph(g) in more output tables --- SS_write_report.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SS_write_report.tpl b/SS_write_report.tpl index fe804cb5..49816d9d 100644 --- a/SS_write_report.tpl +++ b/SS_write_report.tpl @@ -1124,6 +1124,7 @@ FUNCTION void write_bigoutput() SS2out << "Index GP Sex BirthSeas Platoon Platoon_Dist Sex*GP Sex*GP*Settle BirthAge_Rel_Jan1" << endl; for (g = 1; g <= gmorph; g++) { + if (use_morph(g) > 0) SS2out << g << " " << GP4(g) << " " << sx(g) << " " << Bseas(g) << " " << GP2(g) << " " << platoon_distr(GP2(g)) << " " << GP(g) << " " << GP3(g) << " " << azero_G(g) << endl; } } @@ -3683,6 +3684,8 @@ FUNCTION void write_bigoutput() for (settle = 1; settle <= N_settle_timings; settle++) { g += N_platoon; + if (use_morph(g) > 0) + { int gpi = GP3(g); // GP*gender*settlement for (y = styr - 3; y <= YrMax; y++) for (s = 1; s <= nseas; s++) @@ -3713,6 +3716,7 @@ FUNCTION void write_bigoutput() SS2out< 0)