Skip to content

Commit c296994

Browse files
committed
fix typo
1 parent d0cce9c commit c296994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/negativity.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Return the partial transpose of a density matrix ``\rho``, where `mask` is an ar
7171
- `ρ_pt::QuantumObject`: The density matrix with the selected subsystems transposed.
7272
"""
7373
function partial_transpose::QuantumObject{Operator}, mask::Vector{Bool})
74-
any(s -> s isa EnrSpace, QO.dimensions.to) && throw(ArgumentError("partial_transpose does not support EnrSpace"))
74+
any(s -> s isa EnrSpace, ρ.dimensions.to) && throw(ArgumentError("partial_transpose does not support EnrSpace"))
7575

7676
(length(mask) != length.dimensions)) &&
7777
throw(ArgumentError("The length of \`mask\` should be equal to the length of \`ρ.dims\`."))

0 commit comments

Comments
 (0)