Skip to content

Commit 48979d9

Browse files
committed
add .gitattributes
1 parent 77f5d97 commit 48979d9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* text=auto
2+
data/* binary
3+
src/* text=lf
4+
R/* text=lf

R/effective_sample_sizes.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ relative_eff.function <-
102102
f_i <- validate_llfun(x) # not really an llfun, should return exp(ll) or exp(-ll)
103103
N <- dim(data)[1]
104104

105+
draws <- force(draws)
106+
105107
if (cores == 1) {
106108
n_eff_list <-
107109
lapply(

0 commit comments

Comments
 (0)