Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ddahlbom committed Jun 6, 2024
1 parent 4591e94 commit 5a05f7c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/SampledCorrelations/CorrelationSampling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,9 @@ function accum_sample!(sc::SampledCorrelations; window)
μ_old = databuf[k]

# Update running mean.
# matrixelem = sample_α[k] * conj(sample_β[k])
# databuf[k] += (matrixelem - databuf[k]) * (1/count)
databuf[k] += (corrbuf[k] - databuf[k]) / count
μ = databuf[k]


# Update variance estimate.
# Note that the first term of `diff` is real by construction
# (despite appearances), but `real` is explicitly called to
Expand Down

0 comments on commit 5a05f7c

Please sign in to comment.