Skip to content

Commit f39fada

Browse files
committed
fixes #66
1 parent 12feaa5 commit f39fada

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: SimDesign
22
Title: Structure for Organizing Monte Carlo Simulation Designs
3-
Version: 2.19.1
3+
Version: 2.19.2
44
Authors@R: c(person("Phil", "Chalmers", email = "rphilip.chalmers@gmail.com", role = c("aut", "cre"),
55
comment = c(ORCID="0000-0001-5332-2810")),
66
person("Matthew", "Sigal", role = c("ctb")),

R/Design.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ expandDesign <- function(Design, repeat_conditions){
203203
length(repeat_conditions) == nrow(Design))
204204
rep_vec <- rep(1L:nrow(Design), times=repeat_conditions)
205205
ret <- Design[sort(rep_vec), ]
206-
attr(ret, 'Design.ID') <- rep_vec
206+
attr(ret, 'Design.ID') <- attr(Design, 'Design.ID')[rep_vec]
207207
rownames(ret) <- NULL
208208
ret
209209
}

0 commit comments

Comments
 (0)