From b46ec8dc7b55f7c29414b35e4b45f6c53079b594 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Sat, 18 Apr 2020 13:40:19 +0200 Subject: [PATCH] fix printing of 1 based arrays --- libsrc/core/array.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/core/array.hpp b/libsrc/core/array.hpp index 67b46a72..ccafef6b 100644 --- a/libsrc/core/array.hpp +++ b/libsrc/core/array.hpp @@ -600,8 +600,8 @@ namespace ngcore FlatArray View (FlatArray fa) { return fa; } /// print array - template - inline ostream & operator<< (ostream & s, const FlatArray & a) + template + inline ostream & operator<< (ostream & s, const FlatArray & a) { for (auto i : a.Range()) s << i << ": " << a[i] << "\n";