Skip to content

Commit

Permalink
reverse the vegasmc adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
peter0627ustc committed Jul 2, 2024
1 parent e4b91b7 commit d3cdff9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/vegas_mc/montecarlo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,8 @@ function montecarlo(config::Configuration{N,V,P,O,T}, integrand::Function, neval
end
if isnothing(measure) == false
(fieldcount(V) == 1) ?
measure(config.var[1], config.observable, weights, relativeWeights, config) :
measure(config.var, config.observable, weights, relativeWeights, config)
# (fieldcount(V) == 1) ?
# measure(config.var[1], config.observable, relativeWeights, config) :
# measure(config.var, config.observable, relativeWeights, config)
measure(config.var[1], config.observable, relativeWeights, config) :
measure(config.var, config.observable, relativeWeights, config)
end

config.normalization += 1.0 * padding_probability[config.norm] / probability
Expand Down

0 comments on commit d3cdff9

Please sign in to comment.