tristanz / ScytheMCMC (http://bytebucket.org/tristanz/scythemcmc/wiki/html/index.html)

A Scythe Markov Chain Monte Carlo C++ Framework

Clone this repository (size: 1.0 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/tristanz/scythemcmc
commit 11: 6ceff113f5e0
parent 10: bed322654a76
branch: default
Fixed density type
Tristan Zajonc / tristanz
14 months ago

Changed (Δ14 bytes):

raw changeset »

src/mcmc.h (1 lines added, 1 lines removed)

Up to file-list src/mcmc.h:

@@ -434,7 +434,7 @@ public:
434
434
  /// Log of the probability density (plus constant)
435
435
  /// \param value Value of parameter to evaluate density at.
436
436
  /// \return Log of probability density (plus constant)
437
  virtual ParameterStorageType LogDensity(double value) { return 0.0; }
437
  virtual double LogDensity(double value) { return 0.0; }
438
438
439
439
  /// Return a random draw from the posterior.
440
440
  /// Random draw from posterior is called by GibbsStep.