Skip to content

Commit

Permalink
Fix inconsistency in Experiments example
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Cook committed Jun 16, 2020
1 parent 6d2d44f commit a132050
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions experiments/experiment.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
# one argument: the string `true` or `false`:
arguments <- commandArgs(trailingOnly = TRUE)
if (length(arguments) > 0 &&
tolower(arguments[1]) == "true") {
fit_intercept <- TRUE
} else {
tolower(arguments[1]) == "false") {
fit_intercept <- FALSE
} else {
fit_intercept <- TRUE
}


Expand Down

0 comments on commit a132050

Please sign in to comment.