mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 13:53:40 +01:00
Comment out unreachable code to avoid warning
modified: test/pytriqs/arrays/expr.pyx
This commit is contained in:
parent
05e1734ebf
commit
bd4065d4ec
@ -22,18 +22,18 @@ def f(A) :
|
|||||||
return A
|
return A
|
||||||
|
|
||||||
#Solution 2
|
#Solution 2
|
||||||
cdef placeholder[ONE] i_
|
#cdef placeholder[ONE] i_
|
||||||
cdef placeholder[TWO] j_
|
#cdef placeholder[TWO] j_
|
||||||
array_view[long,TWO] (A).call ( ph(i_), ph(j_)) << ph(i_) + ph(j_)
|
#array_view[long,TWO] (A).call ( ph(i_), ph(j_)) << ph(i_) + ph(j_)
|
||||||
|
|
||||||
#Solution 3 ?
|
#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).call ( _i(), _j()) << 3*_i() + _j()*2
|
||||||
|
|
||||||
#array_view[long,TWO] (A)( ph(i_), ph(j_)) << ph(i_) + ph(j_)
|
#array_view[long,TWO] (A)( ph(i_), ph(j_)) << ph(i_) + ph(j_)
|
||||||
|
|
||||||
return A
|
#return A
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user