Skip to content

use float() with tqdm instead of `np.asarray`

Vicentini Filippo requested to merge pv/fix2 into master

Created by: PhilipVinc

Sometimes np.asarray returns a devicearray (why? no idea)

EDIT: I found why: if you .run() twice a TDVP driver, the first time driver.t is a float, while the second time it is a devicearray so it was breaking tqdm.

Merge request reports