From ddd3a56994428a03de9bd25528c57514124d638e Mon Sep 17 00:00:00 2001 From: Philipp Windischhofer Date: Fri, 26 Jan 2024 18:05:03 -0600 Subject: [PATCH] make print() const --- include/Eisvogel/NDArray.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Eisvogel/NDArray.hh b/include/Eisvogel/NDArray.hh index 8bebabe6c..ecb996cb4 100644 --- a/include/Eisvogel/NDArray.hh +++ b/include/Eisvogel/NDArray.hh @@ -149,7 +149,7 @@ public: } // printing - void print() { + void print() const { for(const T& cur: m_data) { std::cout << cur << " "; }