mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 05:43:40 +01:00
Fix tail in from_L_R in gf_generic
The order_max was not set properly.
This commit is contained in:
parent
1a0ebea512
commit
80eb00046f
@ -331,10 +331,9 @@ class GfGeneric:
|
||||
MatrixStack(self.data).matmul_L_R(L, G.data, R)
|
||||
|
||||
# this might be a bit slow
|
||||
t = TailGf(shape=(N1,N2))
|
||||
for o in range(t.order_min, t.order_max+1):
|
||||
t[o] = numpy.dot(L, numpy.dot(G.tail[o], R))
|
||||
self.tail = t
|
||||
for o in range(G.tail.order_min, G.tail.order_max+1):
|
||||
self.tail[o] = numpy.dot(L, numpy.dot(G.tail[o], R))
|
||||
self.tail.mask.fill(G.tail.order_max)
|
||||
|
||||
def __idiv__(self, arg):
|
||||
""" If arg is a scalar, simple scalar multiplication
|
||||
|
Loading…
Reference in New Issue
Block a user