We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1499c0 commit 00fce54Copy full SHA for 00fce54
NDTensors/src/lib/UnallocatedArrays/test/runtests.jl
@@ -35,7 +35,7 @@ using .NDTensorsTestUtils: devices_list
35
Zs = similar(Z)
36
@test Zs isa alloctype(Z)
37
38
- Z = UnallocatedZeros(z, dev(Array))
+ Z = UnallocatedZeros{elt}(z, dev(Array))
39
Za = allocate(Z)
40
@test Za isa dev(Array{elt,2})
41
@test Za[1, 3] == zero(elt)
@@ -73,7 +73,7 @@ using .NDTensorsTestUtils: devices_list
73
Fc[2, 3, 4] = elt(0)
74
@test iszero(Fc[2, 3, 4])
75
76
- F = UnallocatedFill(f, dev(Array))
+ F = UnallocatedFill{elt}(f, dev(Array))
77
Fa = allocate(F)
78
@test Fa isa dev(Array{elt,3})
79
@test Fa[2, 1, 4] == elt(3)
0 commit comments