Skip to content

Commit 7da8dbc

Browse files
committed
Fix diag normal weighting op test
1 parent 829938b commit 7da8dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/testOperators.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ function testDiagOp(N=32,K=2;arrayType = Array)
378378

379379
@testset "Weighted Diag Normal" begin
380380
w = rand(eltype(op1), size(op1, 1))
381-
wop = WeightingOp(w)
381+
wop = WeightingOp(arrayType(w))
382382
prod1 = ProdOp(wop, op1)
383383
prod2 = ProdOp(wop, op2)
384384
prod3 = ProdOp(wop, op3)

0 commit comments

Comments
 (0)