From bde96c93d9e613177e68d2bcd9a2a99a8097fe71 Mon Sep 17 00:00:00 2001
From: "mathias.chouet" <mathias.chouet@irstea.fr>
Date: Mon, 9 Sep 2019 11:24:54 +0200
Subject: [PATCH] MacroRugoCompound: prevent links to ZF2 and Q_Guidetech that
 are not computed

---
 src/macrorugo/macrorugo_compound.ts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/macrorugo/macrorugo_compound.ts b/src/macrorugo/macrorugo_compound.ts
index b91bab5e..34871e8f 100644
--- a/src/macrorugo/macrorugo_compound.ts
+++ b/src/macrorugo/macrorugo_compound.ts
@@ -120,6 +120,11 @@ export class MacrorugoCompound extends MacroRugo implements Observer {
         this.prms.BR.calculability = ParamCalculability.FIXED;
     }
 
+    protected setResultsFamilies() {
+        // overload MacroRugo.setResultsFamilies() with empty method, just
+        // to avoid exposing inherited results that are not calculated here
+    }
+
     private copyPrmsToChildren() {
         for (const child of this.children) {
             // Copy common parameters with MacrorugoCompound
-- 
GitLab