From 6e69eea3cfa521bb02529da3ffd297b6f0c90ea0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Fri, 30 Sep 2022 14:44:32 +0200
Subject: [PATCH] Minor tightening of access specifiers

---
 src/ModelTree.hh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/ModelTree.hh b/src/ModelTree.hh
index eba02be2..87ac681c 100644
--- a/src/ModelTree.hh
+++ b/src/ModelTree.hh
@@ -225,6 +225,8 @@ protected:
   void computeTemporaryTerms(bool is_matlab, bool no_tmp_terms);
   //! Computes temporary terms per block
   void computeBlockTemporaryTerms();
+
+private:
   /* Add additional temporary terms for a given block. This method is called by
      computeBlockTemporaryTerms(). It does nothing by default, but is meant to
      be overriden by subclasses (actually by DynamicModel, who needs extra
@@ -232,6 +234,8 @@ protected:
   virtual void additionalBlockTemporaryTerms(int blk,
                                              vector<vector<temporary_terms_t>> &blocks_temporary_terms,
                                              map<expr_t, tuple<int, int, int>> &reference_count) const;
+
+protected:
   //! Computes temporary terms for the file containing parameters derivatives
   void computeParamsDerivativesTemporaryTerms();
   //! Writes temporary terms
-- 
GitLab