quantum-exeter / SpiDy.jl

:spider: Non-Markovian stochastic SPIn (and harmonic oscillator) DYnamics.
GNU General Public License v3.0
11 stars 2 forks source link

Superflous constructor in IsoCoupling #1

Closed cerisola closed 2 years ago

cerisola commented 2 years ago

From what I remember of the code you showed me on Friday, the constructor IsoCoupling(C) = C*I in the current version of the IsoCoupling type:

struct IsoCoupling{TT<:Real} <: Coupling
    C::TT
    IsoCoupling(C) = C*I
end

should not be there since it is not used for anything in the latest version. Indeed in the notebook where you were trying stuff in the office it shouldn't be there if I recall right.

mekise commented 2 years ago

Indeed it remained only in the notebook!