Skip to content

Commit 6cf44fb

Browse files
Steven L. Scottcran-robot
authored andcommitted
version 0.6.1
1 parent 2795691 commit 6cf44fb

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Package: bsts
22
Date: 2014-12-03
3-
Title: Bayesian structural time series
3+
Title: Bayesian Structural Time Series
44
Author: Steven L. Scott <stevescott@google.com>
55
Maintainer: Steven L. Scott <stevescott@google.com>
66
Description: Time series regression using dynamic linear models fit using MCMC.
77
Depends: BoomSpikeSlab (>= 0.5.1), zoo, xts, Boom (>= 0.2), R(>= 3.1.0)
88
LinkingTo: Boom, BH (>= 1.15.0-2)
9-
Version: 0.6.0
9+
Version: 0.6.1
1010
License: LGPL-2.1 | file LICENSE
11-
Packaged: 2014-12-03 15:08:04 UTC; stevescott
11+
Packaged: 2014-12-04 17:36:40 UTC; stevescott
1212
NeedsCompilation: yes
1313
Repository: CRAN
14-
Date/Publication: 2014-12-03 17:02:04
14+
Date/Publication: 2014-12-05 01:22:51

MD5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
685a1e634082209eab685fc578e1bc6d *DESCRIPTION
1+
7347e81053bb36cf4b795cdb77e97105 *DESCRIPTION
22
7eb09e6fd83eb49ed22911c3b2f06744 *LICENSE
33
77a1cc0e604e69b9fbe98f647d945258 *NAMESPACE
44
3c5c0ab86b65f589f216f5b00493af8c *R/add.ar.R
@@ -64,7 +64,7 @@ ba703f81ad4be6d3ac29a85e9c8e397c *man/timeseries.boxplot.Rd
6464
57af8d3de323423befb55d02ed034ada *man/week.ends.Rd
6565
5442c109b338e0fe1e159ab48a2bf06d *src/Makevars
6666
1eeee71e5c9b8d40de50d83b9660fa59 *src/aggregate_time_series.cc
67-
b869b6b69d427bb121d7f7ff73c26a2c *src/btlm.cc
67+
991425c35941fec9aa0e5e4c563cb4fe *src/btlm.cc
6868
e5610cf3eb282eda96082c201d9898cf *src/mixed_frequency.cc
6969
454d267829019300866ac3ef1c33478d *src/state_space.cc
7070
84f1ec8d86f3f7b3d56930b0b4731fe0 *src/utils.h

src/btlm.cc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,12 @@ class RegressionStateContributionCallback : public BOOM::MatrixIoCallback {
9393
// row for the regression effects. The fact that the regression is
9494
// implemented differently than the other elements of state is an
9595
// unfortunate implementation detail.
96-
int nrow() const override {return 1 + model_->nstate();}
97-
int ncol() const override {return model_->time_dimension();}
98-
BOOM::Matrix get_matrix() const override {
96+
//
97+
// TODO(stevescott): Change the leading 'virtual' to a trailing
98+
// 'override' once CRAN supports C++11 on windows.
99+
virtual int nrow() const {return 1 + model_->nstate();}
100+
virtual int ncol() const {return model_->time_dimension();}
101+
virtual BOOM::Matrix get_matrix() const {
99102
BOOM::Matrix ans(nrow(), ncol());
100103
for (int state = 0; state < model_->nstate(); ++state) {
101104
ans.row(state) = model_->state_contribution(state);

0 commit comments

Comments
 (0)