Skip to content
This repository was archived by the owner on May 10, 2025. It is now read-only.

Commit 05f365f

Browse files
authored
Removed dependence on ExponentialUtilities (#84)
1 parent 36a69f3 commit 05f365f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "CuYao"
22
uuid = "b48ca7a8-dd42-11e8-2b8e-1b7706800275"
3-
version = "0.3.8"
3+
version = "0.3.9"
44

55
[deps]
66
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
@@ -15,6 +15,7 @@ CUDA = "4, 5"
1515
Reexport = "0.2, 1"
1616
TupleTools = "1"
1717
Yao = "0.8"
18+
YaoBlocks = "0.13.10"
1819
julia = "1"
1920

2021
[extras]

src/CUDApatch.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ end
6060
YaoBlocks.AD.as_scalar(x::DenseCuArray) = Array(x)[]
6161

6262
# patch for ExponentialUtilities
63-
YaoBlocks.ExponentialUtilities.compatible_multiplicative_operand(::CuArray, source::AbstractArray) = CuArray(source)
64-
YaoBlocks.ExponentialUtilities.compatible_multiplicative_operand(::CuArray, source::CuArray) = source
63+
YaoBlocks.compatible_multiplicative_operand(::CuArray, source::AbstractArray) = CuArray(source)
64+
YaoBlocks.compatible_multiplicative_operand(::CuArray, source::CuArray) = source

0 commit comments

Comments
 (0)