Skip to content

Commit b88c9b2

Browse files
committed
check spacetype
1 parent 12d2ddd commit b88c9b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algorithms/toolbox.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function transfer_spectrum(
9494
init = randomize!(
9595
similar(
9696
above.AL[1], left_virtualspace(below, 1),
97-
ℂ[typeof(sector)](sector => 1)' * left_virtualspace(above, 1)
97+
spacetype(above)(sector => 1)' * left_virtualspace(above, 1)
9898
)
9999
)
100100

0 commit comments

Comments
 (0)