Skip to content

Commit

Permalink
compat. with Renjin
Browse files Browse the repository at this point in the history
  • Loading branch information
yannrichet committed May 3, 2020
1 parent 9e0ef83 commit 4b2bbd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/doe/Brent.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ getInitialDesign <- function(brent, input, output) {
getNextDesign <- function(brent, X, Y) {
names(X) = names(brent$input)
X = to01(X,brent$input)
Y = matrix(Y,ncol=1) - brent$ytarget
Y = as.matrix(Y,ncol=1) - brent$ytarget

if (brent$i >= brent$max_iterations) {
brent$exit <- 2
Expand Down

0 comments on commit 4b2bbd7

Please sign in to comment.