Skip to content

Commit

Permalink
removed commented out lines
Browse files Browse the repository at this point in the history
  • Loading branch information
brandmaier committed Jul 4, 2024
1 parent edf9d6a commit 9f89d06
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/OpenMx_scores_input.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,14 @@ OpenMx_scores_input <- function(x, control) {
m_deriv <- lapply(q_seq, function(x) {zero})

for (i in q_seq) {
# A_deriv[[i]][which(x$A$labels == param_names[i], arr.ind = TRUE)] <- 1
A_deriv[[i]][which(isTRUE(x$A$free), arr.ind = TRUE)] <- 1
}

for (i in q_seq) {
# S_deriv[[i]][which(x$S$labels == param_names[i], arr.ind = TRUE)] <- 1
S_deriv[[i]][which(isTRUE(x$S$free), arr.ind = TRUE)] <- 1
}

for (i in q_seq) {
# m_deriv[[i]][which(x$M$labels == param_names[i])] <- 1
m_deriv[[i]][which(isTRUE(x$M$labels))] <- 1
}

Expand Down

0 comments on commit 9f89d06

Please sign in to comment.