Skip to content

Commit b11fec1

Browse files
committed
change site of AC2 to Integer to enable dispatch to more specific methods
1 parent 59e26b4 commit b11fec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/states/abstractmps.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ If this hasn't been computed before, this can be computed as:
249249
- `kind=:ALAC` : AL[i] * AC[i+1]
250250
""" AC2
251251

252-
AC2(psi::AbstractMPS, site::Int; kwargs...) = AC2(GeometryStyle(psi), psi, site; kwargs...)
252+
AC2(psi::AbstractMPS, site::Integer; kwargs...) = AC2(GeometryStyle(psi), psi, site; kwargs...)
253253

254254
#===========================================================================================
255255
TensorKit utility

0 commit comments

Comments
 (0)