Skip to content

Commit ad09ffc

Browse files
authored
Merge pull request #47
Fix warning message for `FermionBath`
2 parents 27b23ec + cb8a384 commit ad09ffc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "HierarchicalEOM"
22
uuid = "a62dbcb7-80f5-4d31-9a88-8b19fd92b128"
33
authors = ["Yi-Te Huang <y.t.d.huang@phys.ncku.edu.tw>"]
4-
version = "1.3.0"
4+
version = "1.3.1"
55

66
[deps]
77
Crayons = "a8cc5b0e-0ffa-5ad4-8c14-923d3ee1735f"

src/Bath.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function _check_gamma_absorb_and_emit(γ_absorb, γ_emit)
169169
len = length(γ_absorb)
170170
if length(γ_emit) == len
171171
for k in 1:len
172-
if (γ_absorb[k] != conj(γ_emit[k]))
172+
if !(γ_absorb[k] conj(γ_emit[k]))
173173
@warn "The elements in \'γ_absorb\' should be complex conjugate of the corresponding elements in \'γ_emit\'."
174174
end
175175
end

0 commit comments

Comments
 (0)