From 14ad5d35d7db7980ad833ab4ff378139907020cb Mon Sep 17 00:00:00 2001 From: Andrey Antipov Date: Mon, 5 Aug 2013 13:56:01 +0200 Subject: [PATCH] cuboid::domain_t fix for std::vector constructor --- triqs/arrays/indexmaps/cuboid/domain.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triqs/arrays/indexmaps/cuboid/domain.hpp b/triqs/arrays/indexmaps/cuboid/domain.hpp index 02d5102e6a..f4422f4e8d 100644 --- a/triqs/arrays/indexmaps/cuboid/domain.hpp +++ b/triqs/arrays/indexmaps/cuboid/domain.hpp @@ -52,7 +52,7 @@ namespace triqs { namespace arrays { namespace indexmaps { namespace cuboid { domain_t (n_uple && lengths):lengths_(std::move(lengths)) {} domain_t (mini_vector const & lengths):lengths_(lengths) {} domain_t (std::vector const & l):lengths_() { - if (!(l.size()==rank)) TRIQS_RUNTIME_ERROR << "cuboid domain_t construction : vector size incorrect : got "<