Commit 6e0bee00 authored by markus.meier01's avatar markus.meier01
Browse files

Fixed bug in QNAP

parent 6a838de7
......@@ -162,7 +162,7 @@ class QNAP(Algorithm):
# now reshape unew_vec
tmp_u_vec = unew_vec[0:self.Ny*self.Nx-1]+1j*unew_vec[self.Ny*self.Nx:self.Ny*self.Nx*2-1]
tmp_u_vec = unew_vec[0:self.Ny*self.Nx]+1j*unew_vec[self.Ny*self.Nx:self.Ny*self.Nx*2]
for j in range(self.product_space_dimension):
tmp_u[:,j]=tmp_u_vec
gap[iter-1]=gap[iter-1]/(self.Nx*self.Ny)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment