Skip to content

Commit 2637274

Browse files
committed
Merge branch 'hotfix/0.6.2'
2 parents 20fb39e + ee1fd1b commit 2637274

File tree

5 files changed

+11548
-11545
lines changed

5 files changed

+11548
-11545
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: hBayesDM
22
Title: Hierarchical Bayesian Modeling of Decision-Making Tasks
3-
Version: 0.6.1
3+
Version: 0.6.2
44
Date: 2018-10-09
55
Authors@R: c(
66
person("Woo-Young", "Ahn", email = "wooyoung.ahn@gmail.com", role = c("aut", "cre")),
@@ -13,7 +13,7 @@ Description: Fit an array of decision-making tasks with computational models in
1313
Depends:
1414
R (>= 3.4.0),
1515
Rcpp (>= 0.12.14),
16-
methods
16+
methods
1717
Imports:
1818
rstan (>= 2.17.0),
1919
rstantools (>= 1.4.0),

exec/choiceRT_ddm.stan

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ transformed parameters {
4343

4444
for (i in 1:N) {
4545
beta[i] = Phi_approx(mu_p[2] + sigma[2] * beta_pr[i]);
46-
tau[i] = Phi_approx(mu_p[4] + sigma[4] * tau_pr[i]) * (minRT[N]-RTbound) + RTbound;
46+
tau[i] = Phi_approx(mu_p[4] + sigma[4] * tau_pr[i]) * (minRT[i] - RTbound) + RTbound;
4747
}
4848
alpha = exp(mu_p[1] + sigma[1] * alpha_pr);
4949
delta = exp(mu_p[3] + sigma[3] * delta_pr);

inst/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Oct 19, 2018 (0.6.2)
2+
* Fix an error on choiceRT_ddm (#44)
3+
14
Oct 9, 2018 (0.6.1)
25
* Solve an issue with built binary files.
36
* Fix an error on peer_ocu with misplaced parentheses.

0 commit comments

Comments
 (0)