From 011c71fd8c1f791da4f0e34460dbe05386ac5344 Mon Sep 17 00:00:00 2001 From: marcingretl Date: Mon, 13 Jan 2025 21:44:17 +0100 Subject: [PATCH] fix for --simple-print for MPOLS --- lib/src/modelprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/modelprint.c b/lib/src/modelprint.c index 173769bef..35adfcf86 100644 --- a/lib/src/modelprint.c +++ b/lib/src/modelprint.c @@ -3548,7 +3548,7 @@ int printmodel (MODEL *pmod, const DATASET *dset, gretlopt opt, goto close_format; } - if (pmod->ci == OLS && (opt & OPT_S)) { + if ((pmod->ci == OLS || pmod->ci == MPOLS) && (opt & OPT_S)) { /* --simple-print */ if (pmod->ci == OLS && !na(pmod->rsq) && plain_format(prn)) { int uc = gretl_model_get_int(pmod, "uncentered");