From 7f5a6a7bd0403a8cf780a30056d3dc1b78842e84 Mon Sep 17 00:00:00 2001 From: "George G. Vega Yon" Date: Thu, 5 Oct 2023 15:39:06 -0600 Subject: [PATCH] More info when print --- include/barry/barraydense-meat.hpp | 2 ++ include/barry/model-meat.hpp | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/include/barry/barraydense-meat.hpp b/include/barry/barraydense-meat.hpp index 6df606996..3cd2a0930 100644 --- a/include/barry/barraydense-meat.hpp +++ b/include/barry/barraydense-meat.hpp @@ -449,7 +449,9 @@ template inline void BArrayDensesize()); printf_barry("Support size : %li\n", this->size_unique()); printf_barry("Support size range : [%i, %i]\n", min_v, max_v); + + if (with_pset) + { + printf_barry("Arrays in powerset : %li\n", + std::accumulate(pset_sizes.begin(), pset_sizes.end(), 0u) + ); + } printf_barry("Transform. Fun. : %s\n", transform_model_fun ? "yes": "no"); printf_barry("Model terms (%li) :\n", this->nterms()); for (auto & cn : this->colnames())