Z is y0 transposed
This commit is contained in:
parent
01e7aae41e
commit
2a9e482e44
1 changed files with 1 additions and 1 deletions
|
|
@ -561,7 +561,7 @@ def eigsolve(
|
|||
if y0 is None:
|
||||
Z = numpy.random.rand(*y_shape) + 1j * numpy.random.rand(*y_shape)
|
||||
else:
|
||||
Z = numpy.array(y0, copy=False)
|
||||
Z = numpy.array(y0, copy=False).T
|
||||
|
||||
while True:
|
||||
Z *= num_modes / norm(Z)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue