Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wleoncio committed May 23, 2024
1 parent 0d1d7be commit 425e772
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions R/MADMMplasso.R
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ MADMMplasso <- function(X, Z, y, alpha, my_lambda = NULL, lambda_min = 0.001, ma
)
}
} else {
# This is triggered when parallel is FALSE and pal is 1
# This is triggered when parallel is FALSE and pal is TRUE
my_values <- list()
}

Expand Down Expand Up @@ -271,9 +271,6 @@ MADMMplasso <- function(X, Z, y, alpha, my_lambda = NULL, lambda_min = 0.001, ma
)
}

remove(invmat)
remove(my_W_hat)

loop_output$obj[1] <- loop_output$obj[2]

pred <- data.frame(
Expand Down

0 comments on commit 425e772

Please sign in to comment.