Skip to content

Commit

Permalink
Update R-package/tests/testthat/test_basic.R
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Jun 14, 2021
1 parent e7b2048 commit a15596a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R-package/tests/testthat/test_basic.R
Original file line number Diff line number Diff line change
Expand Up @@ -2065,7 +2065,7 @@ context("monotone constraints")
, ncol = 3L
)
zs <- rnorm(n = n_samples, mean = 0.0, sd = 0.01)
scales <- 10.0 * (rnorm(6L) + 0.5)
scales <- 10.0 * (runif(n = 6L, min = 0.0, max = 1.0) + 0.5)
y <- (
scales[1L] * x1_positively_correlated_with_y
+ sin(scales[2L] * pi * x1_positively_correlated_with_y)
Expand Down

0 comments on commit a15596a

Please sign in to comment.