We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94617ba commit abe1bbdCopy full SHA for abe1bbd
1 file changed
varipeps/optimization/inner_function.py
@@ -55,6 +55,9 @@ def _map_tensors(
55
peps_tensors = input_tensors
56
57
if is_spiral_peps:
58
+ if isinstance(spiral_vectors, jnp.ndarray):
59
+ spiral_vectors = (spiral_vectors,)
60
+
61
return peps_tensors, unitcell, spiral_vectors
62
return peps_tensors, unitcell
63
0 commit comments