Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
91843211
Commit
91843211
authored
Apr 19, 2016
by
Tiago Peixoto
Browse files
Fix typo bug in mcmc_anneal()
parent
2c1bc95f
Pipeline
#169
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/inference/mcmc.py
View file @
91843211
...
...
@@ -246,7 +246,7 @@ def mcmc_anneal(state, beta_range=(1., 10.), niter=100, history=False,
beta
=
beta_range
[
0
]
hist
=
([],
[],
[])
nmoves
=
0
speed
=
exp
((
log
(
beta_range
[
1
])
-
log
(
beta_range
[
0
]))
/
n
s
te
ps
)
speed
=
exp
((
log
(
beta_range
[
1
])
-
log
(
beta_range
[
0
]))
/
n
i
te
r
)
mcmc_args
=
mcmc_equilibrate_args
.
get
(
"mcmc_args"
,
{})
while
beta
<
beta_range
[
1
]
*
speed
:
ret
=
mcmc_equilibrate
(
state
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment