Skip to content

Commit 6dfe480

Browse files
committed
Fix tests
1 parent e363e04 commit 6dfe480

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "KroneckerArrays"
22
uuid = "05d0b138-81bc-4ff7-84be-08becefb1ccc"
33
authors = ["ITensor developers <[email protected]> and contributors"]
4-
version = "0.1.17"
4+
version = "0.1.18"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

src/kroneckerarray.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,8 @@ end
383383
# Operations that preserve the Kronecker structure.
384384
for f in [:identity, :conj]
385385
@eval begin
386-
function Broadcast.broadcasted(::KroneckerStyle, ::typeof($f), a)
387-
return broadcasted($f, arg1(a)) broadcasted($f, arg2(a))
386+
function Broadcast.broadcasted(::KroneckerStyle{<:Any,A,B}, ::typeof($f), a) where {A,B}
387+
return broadcasted(A, $f, arg1(a)) broadcasted(B, $f, arg2(a))
388388
end
389389
end
390390
end

0 commit comments

Comments
 (0)