Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iintSjds committed Jan 25, 2024
1 parent 22c9e72 commit 45bb12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vegas_mc/updates.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function changeVariable(config::Configuration{N,V,P,O,T}, integrand, inplace,
if inplace
(fieldcount(V) == 1) ?
integrand(config.var[1], _weights, config) :
integrand(config.var, config)
integrand(config.var, _weights, config)
else
_weights = (fieldcount(V) == 1) ?
integrand(config.var[1], config) :
Expand Down

0 comments on commit 45bb12a

Please sign in to comment.