From 4413c6a5883cae4674d7beeb24c1435f745fd992 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Sun, 8 Sep 2013 16:54:22 +0200 Subject: [PATCH] Fix #3 I have no clue why this is a pb, and I can not reproduce it, but the change is correct and trivial so I merge this pull request. --- 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 b58f61a9..24e6f75e 100644 --- a/triqs/arrays/indexmaps/cuboid/domain.hpp +++ b/triqs/arrays/indexmaps/cuboid/domain.hpp @@ -56,7 +56,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 "< domain_t(size_t i0, T... t): lengths_(i0, t...){}