mirror of
https://github.com/gonum/gonum.git
synced 2025-10-29 09:42:38 +08:00
Documentation fixes to recent sample commit
This commit is contained in:
@@ -26,7 +26,7 @@ func ExampleMetropolisHastings_samplingRate() {
|
||||
|
||||
tmp := make([]float64, max(rate, burnin))
|
||||
|
||||
// First deal with burnin
|
||||
// First deal with burnin.
|
||||
tmp = tmp[:burnin]
|
||||
MetropolisHastings(tmp, initial, target, proposal, nil)
|
||||
// The final sample in tmp in the final point in the chain.
|
||||
|
||||
Reference in New Issue
Block a user