From 91978da6db5e27af4ee58584fef4cbdacb126bce Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Thu, 30 Jan 2014 19:35:12 +0100 Subject: [PATCH] gfs: mesh product, rename shape method... - just a renaming for readibility. --- triqs/gfs/meshes/product.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/triqs/gfs/meshes/product.hpp b/triqs/gfs/meshes/product.hpp index 96cfbb86..e4e6c52c 100644 --- a/triqs/gfs/meshes/product.hpp +++ b/triqs/gfs/meshes/product.hpp @@ -105,7 +105,7 @@ namespace gfs { }; public: - utility::mini_vector all_size_as_mini_vector() const { + utility::mini_vector shape() const { utility::mini_vector res; triqs::tuple::fold(_aux4(), m_tuple, &res[0]); return res; @@ -265,7 +265,7 @@ namespace gfs { template arrays::array_view reinterpret_linear_array(mesh_product const &m, arrays::array_view A) { - return {{join(m.all_size_as_mini_vector(), get_shape(A).front_pop())}, A.storage()}; + return {{join(m.shape(), get_shape(A).front_pop())}, A.storage()}; } } }