From bd4065d4ecd0652441c58cb7f364c8bb8f9c94bb Mon Sep 17 00:00:00 2001 From: Michel Ferrero Date: Fri, 2 Aug 2013 10:15:29 +0200 Subject: [PATCH] Comment out unreachable code to avoid warning modified: test/pytriqs/arrays/expr.pyx --- test/pytriqs/arrays/expr.pyx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/pytriqs/arrays/expr.pyx b/test/pytriqs/arrays/expr.pyx index 4c5f30b5..b9c08ff5 100644 --- a/test/pytriqs/arrays/expr.pyx +++ b/test/pytriqs/arrays/expr.pyx @@ -22,18 +22,18 @@ def f(A) : return A #Solution 2 - cdef placeholder[ONE] i_ - cdef placeholder[TWO] j_ - array_view[long,TWO] (A).call ( ph(i_), ph(j_)) << ph(i_) + ph(j_) + #cdef placeholder[ONE] i_ + #cdef placeholder[TWO] j_ + #array_view[long,TWO] (A).call ( ph(i_), ph(j_)) << ph(i_) + ph(j_) #Solution 3 ? - array_view[long,TWO] (A).call ( ph0(), ph1()) << ph0() + ph1() + #array_view[long,TWO] (A).call ( ph0(), ph1()) << ph0() + ph1() #array_view[long,TWO] (A).call ( _i(), _j()) << 3*_i() + _j()*2 #array_view[long,TWO] (A)( ph(i_), ph(j_)) << ph(i_) + ph(j_) - return A + #return A