Skip to content

Commit 213e23e

Browse files
committed
one more suggested change
1 parent e08a712 commit 213e23e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bimodulesector.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ end
158158

159159
function Base.one(a::BimoduleSector)
160160
a.i == a.j || error("unit object for module categories is ill-defined")
161-
return A4Object(a.i, a.i, _get_dual_cache(typeof(a))[1][a.i])
161+
return typeof(a)(a.i, a.i, _get_dual_cache(typeof(a))[1][a.i])
162162
end
163163

164164
function TensorKitSectors.leftone(a::BimoduleSector)

0 commit comments

Comments
 (0)