Skip to content

Commit

Permalink
Update src/Hamiltonians/reduced_density_matrix.jl
Browse files Browse the repository at this point in the history
Co-authored-by: mtsch <matijacufar@gmail.com>
  • Loading branch information
Skuwar1 and mtsch authored Nov 5, 2024
1 parent b206ea9 commit da4985d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Hamiltonians/reduced_density_matrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ LOStructure(::Type{<:ReducedDensityMatrix}) = IsHermitian()
function Interfaces.allows_address_type(
op::ReducedDensityMatrix, A::Type{<:AbstractDVec}
)
result = op.M == num_modes(A)
return result
return op.M == num_modes(A)
end

function Interfaces.dot_from_right(left::AbstractDVec, op::ReducedDensityMatrix, right::AbstractDVec)
Expand Down

0 comments on commit da4985d

Please sign in to comment.