Skip to content

Commit

Permalink
fix for --simple-print for MPOLS
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingretl committed Jan 13, 2025
1 parent e12d258 commit 011c71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/modelprint.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 011c71f

Please sign in to comment.